Menu
Lately I’ve started to think that it might be a good thing to program JavaScript with a classical object-oriented approach because then it is possible to take advantage of things like design patterns. JavaScript does not have things like abstract classes, interfaces, implementing interfaces so I found a JavaScript framework that offers this functionality, easejs.
Question #1: Do you think that it’s a good idea to program JavaScript with a classical object-oriented approach?
Question #2: If yes, how would you organize the files? For example, in Java they have a class in it’s own file.