As an undergraduate, I wondered how it was possible to write code professionally, because I could only barely fit the semester-long programming assignment in my head. When I asked my professor about it, I got an independent study credit to learn about UML.
UML (as a representative example of thoughtful documentation) is a partial answer. But actually a much larger part is that with practice I can hold a lot more code in my head. Today, that semester project seems trivial and if I see a stack trace I can tell you how to fix the bug that caused that exception to get thrown.
As a senior dev, I'd answer "how do you remember what your code does?" with
- As you work, you get better at just remembering
- As you find patterns and follow them, you'll have less to remember (I bet I know what the
downloadUnpackUpdate()
method does!) - As you do the first two, you'll learn to recognize when comments are helpful
As opposed to "interactivity". I saw this in a post from wpb@lemmy.world: https://programming.dev/post/26779367/15573661
Dead plants from before there were decomposers who could properly devour the corpses. Oil is lich-ferns
Weirdly, I haven't seen a lot of people who think The Gang in It's Always Sunny In Philadelphia are cool role models. I guess the difference might be that Rick is canonically a genius where The Gang are canonically morons.
It'd be way less offensive if it was just present as an option, instead of dancing around flashing at me
You should be suspicious of American-owned media, but it's not the case they they are running state-issued propaganda at all times.
Rather, the media is following the interests of its owners: American oligarchs. One of their primary interests is "get more money" and any headline that draws eyeballs serves that end.
So: at least 4 years, probably longer :/
Purescript looks pretty cool, but the author was definitely positive on TypeScript warts. Like, I think the article's main take was, "it's easy to transition to TypeScript gradually, which is why it's a great language. But watch out: that capability also means you can never get to some 'pure' TypeScript."