When not to use Memoization in Ruby on Rails

Memoization is a wonderful concept in programming world. It helps in writing clean code which execute faster. Example: def slow_method @result ||= perform_slow_method end In the above code, slow_method will cache perform_slow_method in @resultvariable, therefore perform_slow_method will execute only once. So, if memoization is wonderful then why not to use it always? that’s the question I am going to answer … Continue reading When not to use Memoization in Ruby on Rails

Learnings from first solo talk at RubyConf TH

Content posted here with the permission of the author Shweta kale, who is currently employed at Josh Software. Original post available here I spoke at International RubyConf alone for the first time and it is one of the best experience I ever had at a conference. It all started few years back when I joined Josh. … Continue reading Learnings from first solo talk at RubyConf TH

Data Race Detector in Golang

Content written by author Rahul Shewale, who is currently employed at Josh Software. As we know, Golang is a powerful programming language with built-in concurrency. We can concurrently execute a function with other functions by creating goroutine using go keyword. When multiple goroutines share data or variables, we can face hard to predict race conditions. … Continue reading Data Race Detector in Golang