Hacker News new | ask | show | jobs
by jfkebwjsbx 2273 days ago
Books should not be written in a single text file, though. That is asking for trouble.
2 comments

A good editor can handle them without any trouble. I just downloaded Moby Dick from Project Gutenberg and opened it in Emacs. It opened instantly, I could immediately go the end (line 22333), scroll around, count the words (there are around 222617), count the ocurrences of the word 'whether' (there are 91, the last of which is on line 21769), make a change somewhere in the middle. All of this is instant.

You can do all that instantly in Vim too (... and I just checked to make sure). A megabyte of text is just not a lot of text for a good editor.

Why not? Beacuse of bad text editors? Or is there some fundamental reason about that?
Because it is extremely hard to work with it?

Same reason why we do not put programs in a single source file.

Why is it extremely hard to work with the whole novel in a single file? Because most software for writing prose is not up to the task?