𝙲𝚑𝚊𝚒𝚛𝚖𝚊𝚗 𝙼𝚎𝚘𝚠

  • 0 Posts
  • 412 Comments
Joined 3 years ago
cake
Cake day: August 16th, 2023

help-circle


  • I think the rules written in Clean Code are mostly a response to the kinds of bad code that Martin had to deal with. I think compared to the bad examples he cites his rules are an improvement.

    Ousterhout mostly pricks holes in these rules, based on the bad code he has seen. But he’s not infallible either since he wrote wrong comments on his own code, which is a bit of a self-own.

    I don’t think it’s entirely possible to provide one set of rules that can be universally applied. You need to adjust your code to the problem you’re solving, your audience, your programming language, etc… You’ll always find counterexamples where doing something a little different works better.

    Code should be self-explanatory, but a good informative comment can go a long way. Long methods should probably be broken up, but not always and not beyond the point of usefulness. I’ve seen examples where the UB version read better than the JO version, and vice versa.

    The value for me in these discussions is finding out why people write what they do, and what they prefer to read (and why). That helps me think about how I can best structure my code for readability. But there’s no point in setting rules and becoming dogmatic about them.










  • But the CDU is also promising to tackle immigration, and has actually delivered on some of it during their government. They were halved this election.

    The fascist can always jump to the next topic. Immigration isn’t even the original boogeyman, there’s always another “other”. You can’t beat them at their own game, they’ll always promise a more radical, more “effective” solution, meaning you’ll never “do enough”. The only thing you’ll do is legitimize their viewpoint.

    You need to address why people are looking for a boogeyman. And that’s because many of them appear to be worse off than they were a decade ago. They’re angry at traditional parties because they messed up economically and standard of living is going down. Address that, and you take away the oxygen that fuels the fire. Immigration didn’t cause the standard of living to go down, promising you’ll end it legitimizes those who claim it does.








  • Nuclear is actually a very poor fit for baseline power because of the high costs involved and the problem of it being expensive and slow to turn on or off. Kept turned off, nuclear is a massive money bleeder which is why investment companies rarely touch them.

    Because solar and wind are variable, you need a baseline that’s also variable to be able to quickly compensate. The only real viable options are battery power (harder to scale), hydro (geographically limited) and unfortunately gas power plants (polluting, but cheap). Nuclear is excellent stable power, good if solar/wind are never able to reach 100% of needs, but multiple countries have now shown that that is very much within the realm of possibilities.

    Biggest issue with nuclear remains cost, excessively long time to build and if there’s a drought you don’t get enough water to cool with so you need to switch it off (see Hungary and France these days to see the very expensive consequences of that).