Code Thoughts

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

February 28, 2018 2 min read

Repeated Method Parameters in Scala

Let's see how Scala supports variable arguments and repeated method parameters, and the conditions to consider when using them.

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.
© 2022, Gaurav Gaur