Ruby: Hash default value – be cautious when you use it
Default Ruby hash value can be really useful. Unfortunately, when used without deeper understanding, it can cause some trouble. In this article I describe one of the examples that at first glance behave weird.
Post a comment