by jhrobert · 15y ago · 0 comments
You don't need that if you put everything in OneBigFile. Mine is 24KLOC. http://simplijs.com/OneBigFileFormat
Modern editors can handle big files.
BTW: I'm still looking for an editor that could open multiple files in a single buffer/window.
"Search" is my friend to move around in my one big file.
I think of it like a the same shift introduced by Google Mail with their "label" thing. At the time it was quite disturbing, we used to classify mails in hierarchical directories. Nowadays, when I want to retrieve a msg, do I navigate a directory structure? No. I just "search".
Same for source code.
You'll probably enjoy that.
Problem is, grasping what they means turn to be difficult, it's like wherever you look you just have to look elsewhere and feel like the real job is done... no where. You basically struggle to get the "big picture".
Well... it's probably better than Forth.
There is more than one way to do it. I don't split a big function in two until the other function is called from at least two places. What's the point of having a function when all calls to it come from a single place?
But let the code speak, have a look at mine if you wish, this nice javascript loader for example http://simpliwiki.com/loadfire.js.html -- extracted automatically from my one big file of course. :)