News for hackers. Stuff that matters.
Re:JavaScript is not suitable for large web apps by voidr on Friday June 15, 2012 @01:16AM (#4115150)
I usually do the following:

- if function A and B are always used together, than they are one file.

- if linecount gets to big, split A and B into separate files

- if function C is shared between modules than it belongs in it's own file

So far it worked out great.

Re:JavaScript is not suitable for large web apps by Arelius on Saturday June 16, 2012 @02:51AM (#4120050)
So long as #3 takes #1 into account.