Yrfnjxa9idnytdhpz4ak
SkillsCast

What if bang was transitive

3rd December 2015 in London at CodeNode

There are 21 other SkillsCasts available from Clojure eXchange 2015

SkillsCast coming soon.

When writing Clojure, we have a habit of using !(bang) to signify that a function has side-effects. Imagine that bang was transitive, such that any function calling a side-effecting function also had to end with a bang. Would all your functions end with a bang?

In this talk I will show what happens when when you have deep call-stacks which ends up in side-effecting functions, how this affects both testing and REPL-driven development, and lastly some ideas on how to structure your code to eliminate this problem.

YOU MAY ALSO LIKE:

Thanks to our sponsors

What if bang was transitive

Erik Assum

Erik works as a Clojure programmer at Ardoq, a Norwegian startup in the EA-space. He’s a mainly a backend programmer, but tends to work wherever the code is bad enough. Given time he’ll eventually drift into some sort of devops role while trying to figure out how to run the current project even better.

SkillsCast

SkillsCast coming soon.

When writing Clojure, we have a habit of using !(bang) to signify that a function has side-effects. Imagine that bang was transitive, such that any function calling a side-effecting function also had to end with a bang. Would all your functions end with a bang?

In this talk I will show what happens when when you have deep call-stacks which ends up in side-effecting functions, how this affects both testing and REPL-driven development, and lastly some ideas on how to structure your code to eliminate this problem.

YOU MAY ALSO LIKE:

Thanks to our sponsors

About the Speaker

What if bang was transitive

Erik Assum

Erik works as a Clojure programmer at Ardoq, a Norwegian startup in the EA-space. He’s a mainly a backend programmer, but tends to work wherever the code is bad enough. Given time he’ll eventually drift into some sort of devops role while trying to figure out how to run the current project even better.

Photos