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

Lisp, Dylan, Smalltalk, ML, Haskell, CoffeeScript, and Dart all have various levels of implicit return. It makes sense in a language where there are no statements, just expressions.

Generally code is written to not need to return from the middle of a function. This is only really inconvenient in loops, and at least Dylan, Lisp, and Smalltalk make some provision for an "early return."



Someone said Dylan so I just respond...my favorite language of all times :)




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

Search: