Welcome back to Not So Random Software. This week’s links are dedicated to Automation and how we can keep a healthy relationship with it. A random article or paper In an automated system two roles are left for the human operator; (a) monitoring that the automated system is working correctly, and (b) taking over control […]
Each time we call a function that’s meant to perform some operation that could succeed or fail we are always left with the same dilemma. What should be the return value? Should I return nil if a failure happened? Or I should throw an exception? What does failure means anyway? Like every interesting question, the answer is […]
In this blog post I will introduce Hash#dig_and_collect , a simple utility method that is built on top of Hash#dig to help you navigate nested hashes mixed up with arrays.