3 ms·
Of course one needs to think about the problem up front, especially in JavaScript. The problem with Java was that due to the fact that it's not dynamic, it was
by olegp 13y ago
Of course one needs to think about the problem up front, especially in JavaScript. The problem with Java was that due to the fact that it's not dynamic, it was easy to get carried away creating abstract base classes and interfaces, or worse yet using generics to build up the foundation for what you actually wanted to do, before you wrote any code that was useful.
In JS, the focus for me is to get something that gets the job done in as simple way as possible, and then work to make it more generic.