Tag: code-reading

Daily Code Reading #2 – Facets Hash#zipnew

I’m continuing my look at Ruby Facets today, this time looking at another Hash method. I use Hashes everyday in Rails programming so if I can pick up some new techniques, I can put them to use right away. Today’s subject is Hash#zipnew. The Code 1 2 3 4 5 6 # File lib/core/facets/hash/zipnew.rb, line …

Read more

Code Reading – New Ideas and New Solutions

My daily refactorings have improved my existing code up to my current knowledge of Ruby. Now I need a way to learn new ideas and ways to write Ruby. I’m going to start doing a daily code reading and review every day: posting it reading over it taking notes on the interesting techniques try to …

Read more