Hacker News new | past | comments | ask | show | jobs | submit login

No 1. which is missing everywhere:

Everything should return a value, there shouldn't be any statements.




why? don't you need side effects, like print("hello world")


That is an expression that returns Void.


It would be nice if that returned the number of characters printed, ala sprintf() in c.


In my opinion, that would go against the principle of least surprise.


Pitched. Rejected.




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

Search: