News for hackers. Stuff that matters.
Re:Discourse ditches CoffeeScript by wereHamster on Saturday February 23, 2013 @04:24AM (#5269105)
> 8. Automatic return on last line

This is all good and fine until you realize that this will bite your ass when you need to write performance-sensitive code. So you end up with lots of explicit 'return' statements at the end of your functions.

> 9. things like {log, tan} = Math in the global scope just to save a few keystrokes elsewhere.

It's not only for saving keystrokes, but may also be improving performance. Some reason people add `local _G = _G` to the top of Lua source files to speed up access to _G.

There are no comments on this comment yet.