• 0 Posts
  • 860 Comments
Joined 1 year ago
cake
Cake day: July 18th, 2023

help-circle
  • IMO, the most important parts are to document the actual intent of the code. The contract of what is being documented. Sure, it’s only so useful in perfectly written code, but NO code is perfect, and few will come through later with full context already learned.

    It makes it sooo mich easier to know what is intended behavior and what is an unchecked edge case or an unexpected problem. If it’s a complicated thing with a lot of fallout, good documentation can save hours of manually lining up consequences and checking through them for sanity.

    You might say, “but that’s indication of bad code!”. No. Not really. Consequences easily extend past immediate code doing things as trivial as saving data to the database without filtering, or having a publicly available service. Even perfectly coded things come up with vulnerabilities all the time due to underlying security issues. It’s always great to have an immediate confirmation of what’s supposed to happen whether it’s immediate code or some library with a new quirk in a new version.








  • Many people are giving wrong answers. Cognitive dissonance is NOT simply holding two opposing ideas in your head. Cognitive DISSONANCE is the uneasy feeling people are supposed to get when holding discongruent ideas at the same time.

    Some people do not feel cognitive dissonance at all even while openly voicing the opinions. Great examples are all over politics. If one is for women having the freedom to make their own medical decisions, but oppose abortion bejng legal, those are two opposing views that SHOULD trigger unease and make them reconsider one position or the other.

    A better example is people that believe laws should apply equally to everyone, but then go on to say Trump should totally be immune. That SHOULD cause dissonance, but it doesn’t for far too many.




  • You’re being downvoted, but that is EXACTLY how this otherwise benign moment will be weaponized by the right.

    Republicans WILL share this as a slander, and the Dems will utterly fail to clarify the truth. They suck at clearing up Republican BS partly because clearing up lies always takes longer than speaking the lie, but the Dems have a track record of falling on their ass in the attempt.

    The ratchet effect is real, which is why “enlightened centrism” is nothing but a moronic farce that runs cover for the ratchet mechanism. Republicans are literally vile, selfish pieces of shit that do not know what America stands for (or rather do not like what America stands for), and they MUST be treated as such.

    Literal traitors should NEVER get the benefit of any doubt.