Code Thoughts

Everything Should Be Made As Simple As Possible, But Not Simpler -Albert Einstein

February 16, 2018 2 min read

Closures in Scala

This is a quick hands-on tutorial on closures in Scala. It binds free variables to function literals.

February 16, 2018 2 min read

Lazy Evaluation in Scala

This quick lesson in lazy evaluation covers its benefits and drawbacks your options to implement it in your Scala code.

February 13, 2018 2 min read

Partial Functions in Scala

This quick hands-on lesson on partial functions in Scala and how they help in development. The article also provides partial function code snippet

January 02, 2018 3 min read

Currying in Scala

This quick hands-on example of currying, article shows a simple use case as well as code snippets to show how currying can save time.

December 29, 2017 2 min read

Partially Applied Functions in Scala

A great primer for Scala devs or functional programming buffs in general, check out how (and why) to make use of partially applied functions.
© 2021, Gaurav Gaur