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

Java has a lot more boilerplate—or near boilerplate—than the others. For example, you probably want to implement some kind of toString method, if only for your own sanity during debugging. You can do that in Python, but __str__ is often good enough.

I also wonder how many Java "lines" are just a closing brace or something trivial.



and haskell is even smaller - `deriving show` and `deriving eq`!




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

Search: