Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Any thoughts on how to do this better are most welcome! :)


Speaking as a non-rubyist, I notice that the last code sample features some pretty serious "pyramid building". Is the "opt out" approach not idiomatic? For comparison, I'd probably write it like this: http://pastebin.com/4P03Uqrq


My approach is definitely not idiomatic ruby so I think your point is completely valid.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: