3 ms·
So, a lot of small files create inconvenience and then one need a tool to navigate the mess? You don't need that if you put everything in OneBigFile. Mine is
by jhrobert 16y ago
So, a lot of small files create inconvenience and then one need a tool to navigate the mess?
You don't need that if you put everything in OneBigFile. Mine is 24KLOC. http://simplijs.com/OneBigFileFormat 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.
- MikeMakesIt 16y agoSurely you don't get the same level of organisation (particularly hierarchical) by having everything in one file? And doesn't that mean you are constantly scanning up and down the file?
- jhrobert 16y agoActually the content of my one big file is made of "sections" (I wrote a tool to extract them, http://simpliwiki.com/sections.html http://simpliwiki.com/sections.html) "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.
- raganwald 16y agoIf you like OneBigFile, you'll really love OneBigFunction!
- MikeMakesIt 16y agoIs that from the same people who brought you AllInOneClass?
- jhrobert 16y agoWell... If you look at the source code of a Smalltalk program, you'll tons of small functions. 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 http://simpliwiki.com/loadfire.js.html -- extracted automatically from my one big file of course. :)