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




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