MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1j1cw7/coffeescripts_scoping_is_madness/cbab7jt/?context=3
r/programming • u/donatj • Jul 25 '13
315 comments sorted by
View all comments
Show parent comment
3
CS is not an optimizing compiler, but that's not to say it must do stupid things that are plainly stupid.
There's no getting around knowing what CS is going to optimize and what it won't. For example, this runs out of memory:
x = [1..9e9] console.log i for i in x
But this won't:
console.log i for i in [1..9e9]
View all comments
Show parent comment
3
u/cashto Jul 25 '13
CS is not an optimizing compiler, but that's not to say it must do stupid things that are plainly stupid.
There's no getting around knowing what CS is going to optimize and what it won't. For example, this runs out of memory:
But this won't: