3 ms·
I have to agree, I will probably write 10k lines of coffeescript in the next year, much of it in reusable and open source libraries, and OPs problem does not se
by zackbloom 13y ago
I have to agree, I will probably write 10k lines of coffeescript in the next year, much of it in reusable and open source libraries, and OPs problem does not seem to cause issues all the much in practice.
People have to distinguish between the simple issues that trip up beginners, and the fundamental issues that plague you for life.
- coldtea 13y ago>I have to agree, I will probably write 10k lines of coffeescript in the next year, much of it in reusable and open source libraries, and OPs problem does not seem to cause issues all the much in practice. Whether it causes any issues in practice for some particular programmer or not (and 10K lines is not much even for ONE modern webapp, and you write them broken down in multiple libraries), the thing is the behavior is logically flawed in itself. Like Javascript needing "var" to NOT make a global variable (instead of defaulting on local vars) is. Coffescript's behavior on this scoping issue is in the list of bad items that includes goto, global variables and nullity.