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 […]
Last week I attended the 2017 European Ruby Conference in Budapest. Here is a shortlist of the talks I enjoyed the most and some thoughts on the conference in general. The conference First and foremost this has been the biggest European Ruby conference in 15 years. A demonstration that the community is strong and working […]
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.
This year Rails 5 will be released and the Railsconf keynote held by DHH - the author of Rails - presents the rationale behind its latest developments. In the following I'll show you why I think we are riding the good Rails and how to apply the right amount of criticism around the Rails' author […]