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

I too feel the type safety concern people have with ruby is overblown. The number of actual wrong type related issues I encounter is hardly enough to justify the costs of strong typing. The biggest type issue is with `nil` values and `NoMethodError` on `nil`. Guard clause or safe nav operator is usually sufficient protection for that. That said, I usually don't find myself needing to write that much defensive code for those cases.


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

Search: