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

help-circle




  • IMO, “One app/library/etc does one thing only” is a rather ignorant form of wisdom about encapsulation, anyways.

    Encapsulation is important regardless of how many disparate tasks a library handles. Doing one thing with one thing is a pretty good rule of thumb to get close to good results, but it is FAR from a golden standard, and serves to drag people away from the finer nuances of encapsulation.

    The ONLY time it is a hard and fast rule is at the individual function level. A single function ideally should have one task to accomplish, even if that task has side effects.

    I’m sure there are cross-dependency issues on an OS level that makes it a bit wiser to do for widely used system tasks, but to make it an absolute rule smacks of wisdom gone awry. Like not eating shellfish in the bible.




  • It’s not that the physics doesn’t match reality, it’s that the physics doesn’t match THEIR OWN rules.

    It’d be like if the Hulk was crushing cars with his steps in one scene, but then calmly sitting in a flimsy plastic lawn chair in the next. It’s discongruent within their OWN rules. It doesn’t match THEIR OWN reality.

    It’d be like if Superman is suddenly unable to shrug off bullets. It’s dumb.

    Stories do not have to be realistic, but they MUST be congruent in order to be taken seriously. It’s much, MUCH harder to suspend disbelief if there are no rules and the good guy magically wins.

    If you say, “but that’s Disney Marvel, though”, then perhaps that has something to do with the waning popularity!?



  • rofl! The difference vetween a progressive and liberal is NOT just when they decide to intervene in corporations…

    American liberals want to means test EVERYTHING that could concievably go to a poor person. A progressive realizes the red tape is fucking stupid and expensive in its own right. Remember the COVID funds? Sucked up by megacorporations more than small businesses like it was supposed to be for? Notice how American liberals didn’t go after those corporations or really care that the money instantly dried up for smaller fries?

    Yea, American liberals are ABSOLUTELY closer to American conservatives in practicality. It doesn’t matter how many polite words they use if the end result is FUNCTIONALLY THE SAME. No, conservatives wouldn’t have given any money to poor people, but as already said, liberals didn’t care that corporations with lawyers that could push all the red tape got the money, not small businessesthat actually neededrhe help.

    They BOTH serve to drain the government of public funds. You’ve just fallen for the pleasantries they put on the same negative slant of actions. No, liberals are not fascists themselves, but they’re always, always dumb enough to make things suck enough that fascists sound nice to fools.


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