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

Some languages don't give that opportunity. E.g. the "if err != nil" blocks in Go are effectively required and obvious, but are mandated by the language.

Other things are complicated to abstract for the boilerplate they avoid. The kind of thing that avoids 100 lines of code but causes errors that take 20 minutes to understand because of heavy use of reflection/inferred types in generics/etc. The older I get, the more I think "clever" reflection is more of a sin than boring boilerplate.



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

Search: