re: Why you shouldn't reassign values in JavaScript VIEW POST

TOP OF THREAD FULL DISCUSSION
re: WTH ? I strongly believe this promotes stupidity amongst programmers. It's verry natural for a function to be able to access global variables, both...
 

Optimization can often lead to code that is harder to read, test and maintain. You are right saying that is the task of an programmer to understand the code. But I would not like to work in such code. Moreover in times of huge in-memory-databases, memory is not as expensive as programmers maintaining and extending the code.

code of conduct - report abuse