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

Nothing wrong with semicolons. IMO they make code look a little bit less readable - you need to look at semicolon while you could be just looking at the empty line. One of the reasons people like python.


This is a valid point. Without the context, the “everything is an expression” forces one to look for a line without a semicolon to see the expression result. In a 5 line function, that’s easy, but in a nested match, it can be hard.


It can only possibly be at the end, so it's not really hard?




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

Search: