• 0 Posts
  • 161 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.







  • MotoAsh@lemmy.worldtoLemmy Shitpost@lemmy.world1337
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 months ago

    No, it’s actually wrong and I was sarcastic. Just because a lot of the world is geared behind a patriarchy does not mean it’s suddenly OK to scapegoat the complexities of basic sexual attraction on to one gender.

    “It’s more than the religious that take part in this” does NOT magically mean the social norms were not established by conservative fuckwits who were almost certainly heavily religious in order to protect themselves and keep their position in a patriarchy.

    Conservative religions absolutely deserve most of the blame, regardless of which gender sat at the top.