Mniot

joined 5 days ago
[–] [email protected] 1 points 4 hours ago

Actual UML-according-to-some-books is old and unpopular now. I think C4 is taking its place, in that I've seen architect-types ask for it. More generally, I really like PlantUML and the prettier-looking Mermaid which both allow me to code diagrams using a text document.

Yeah, I agree: academia gets people expecting to go, "give me 2x Visitor Pattern, then 1 Builder Pattern, then as many Divide and Conquers as you need to reach the end". It can be nice to have a name for things, but most of the time I'm asking for, "see how the setup, actual work, and cleanup are nicely divided up? Do like that." Or, "let's put all the related endpoints in the same file."

[–] [email protected] 2 points 4 hours ago
  • talks loudly in an open office when he take phone calls

That one's my least favorite. Might as well just grab me by the shoulders and shout your conversation in my face for how little work I'm getting done.

[–] [email protected] 8 points 18 hours ago (2 children)

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

  1. As you work, you get better at just remembering
  2. As you find patterns and follow them, you'll have less to remember (I bet I know what the downloadUnpackUpdate() method does!)
  3. As you do the first two, you'll learn to recognize when comments are helpful
[–] [email protected] 2 points 20 hours ago

When Democrats are in power, the Republicans can stall things because they only have a slim majority and the extreme measures that they'd need to take are unpalatable to 5-30 of the most regressive Democrats. So their majority doesn't count for a lot.

Overall, I think this is partially just that Americans are pretty regressive (possibly because of all the propaganda, possibly because of our poor education). And partially the successful efforts by Republicans to control local government, which allows them to do things like gerrymander federal districts.

 

As opposed to "interactivity". I saw this in a post from [email protected]: https://programming.dev/post/26779367/15573661

[–] [email protected] 1 points 2 days ago

Dead plants from before there were decomposers who could properly devour the corpses. Oil is lich-ferns

[–] [email protected] 12 points 2 days ago

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.

[–] [email protected] 4 points 2 days ago

It'd be way less offensive if it was just present as an option, instead of dancing around flashing at me

[–] [email protected] 16 points 2 days ago

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.

[–] [email protected] 21 points 4 days ago (4 children)

So: at least 4 years, probably longer :/

[–] [email protected] 3 points 4 days ago

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."