I've recently been shown some JavaScript plugins written for OBIEE Mobile App Developer, as well as some custom libraries for various projects.
Coming from an OOP background, I am a little confused about the structure of these projects. I am seeing files that are thousands of lines long. I am used to splitting things into files and classes but I understand that this is a different framework - for one, file size is an issue - but there must be a better way to do it all?
The length of the scripts affects not only readibility and maintanability but also a person's general understanding of how the program works.
How are large applications structured? Any general OOP design patterns for this?
Typescript and ES6 are specifically designed to cater to large Javascript programs.
– Robert Harvey Jul 15 '16 at 15:12