Posts By #

    April 18, 2021 5 min read

    Benchmarking Scala Code with JMH

    A quick hands-on lesson to integrate Java Microbenchmark Harness (JMH) with SBT.

    April 10, 2021 6 min read

    Java Microbenchmark Harness (JMH)

    A quick hands-on lesson to learn about Java Microbenchmark Harness (JMH). The article helps you get started and configure JMH project.

    March 30, 2021 6 min read

    What is Microbenchmarking

    An introduction to Microbenchmarking, when to use it and pitfalls to avoid.

    November 14, 2019 2 min read

    Sorting Lists of Objects in Scala

    Learn how to set sort the lists in Scala. The blog talks about the usage of sortWith and sortBy along with coding examples

    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.

    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.

    December 17, 2017 2 min read

    Tail Recursion in Scala

    Sure, recursion can be error-prone, but that's what tail recursion tries to solve. See how Scala helps developers out with recursive code.

    April 03, 2017 2 min read

    URL encoding and decoding using Scala

    A quick hands-on example of ecoding and decoding urls in Scala.
© 2022, Gaurav Gaur