▲ | lifthrasiir 5 days ago | ||||||||||||||||
The answer is simple: Bellard can recall all 50K lines of context, while most can't. I too happen to have a larger working memory and only later realized that my threshold for files and functions is way higher than most others. The dogma is only required when the file is to be read and written by multiple people. | |||||||||||||||||
▲ | Timwi 5 days ago | parent | next [-] | ||||||||||||||||
I have written long methods and will do so again and I wouldn't say it's because I have larger working memory or some other supposedly superior attribute. Some methods are just a long series of steps that you can just write one after another. Reading it from top to bottom is exactly as difficult/confusing/whatever as reading them as separate methods would be (assuming you put short comments in the same places where you would otherwise break it up). I think people just don't want inexperienced programmers to do that because they'll end up with tons of mutable state spanning the whole thing, and it's easier to tell them to break it up into methods than to explain what you mean by mutable state and limited scope. | |||||||||||||||||
| |||||||||||||||||
▲ | p0w3n3d 5 days ago | parent | prev | next [-] | ||||||||||||||||
Tbh I've lived already through at least three different dogmas contradicting each other. Those are sometimes behaving like a fashion | |||||||||||||||||
| |||||||||||||||||
▲ | 2b3a51 5 days ago | parent | prev | next [-] | ||||||||||||||||
Has written his own editor, presumably to support preferred working style, using emacs idiom for UI. | |||||||||||||||||
▲ | dmd 5 days ago | parent | prev | next [-] | ||||||||||||||||
I feel like this is an underrated superpower. I don't have it - my digit span[0] is about 3, well below normal, so I've always felt that while I'm pretty smart (and managed to get a scientific PhD at an Ivy, so my brain's doing /something/ right), I've always felt like I'm driving a Ferrari but the windows are all blacked out and I'm looking through a tiny hole. | |||||||||||||||||
▲ | spookie 5 days ago | parent | prev [-] | ||||||||||||||||
tbh working on one file is most often much more ergonomic for me. Depends entirely on the sw architecture of course. |