• 4 Posts
  • 685 Comments
Joined 4 months ago
cake
Cake day: July 22nd, 2024

help-circle

  • Because you don’t know what you’ll need that wrapper beforehand, that’s my entire point.

    Unless you’re only doing trivial changes, the chances are very high that you won’t be able to design the class structure. Or, you end up essentially writing the code to be able to write the tests, which kind of defeats the purpose.




  • leisesprechertoProgrammer Humor@lemmy.mlDebugging
    link
    fedilink
    arrow-up
    2
    ·
    16 hours ago

    Tests first is only good in theory.

    Unit tests typically test rather fine grained, but coming up with the structure of the grain is 80% of the work. Often enough you end up with code that’s structured differently than initially thought, because it turns out that this one class needs to be wrapped, and this annotation doesn’t play nice with the other one when used on the same class, etc etc.




  • leisesprechertoMemes@sopuli.xyzJust the essentials
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    2 days ago

    It’s wild to me, that there seem to be so many payment schemes.

    In Germany you get paid monthly, either always on the first or always 15th, but that’s pretty much all variation we have. Even unemployment benefits and parental leave support is monthly.



  • Learning from a history and putting on a pseudopatriotic show to paint over any responsibility is not quite the same.

    The US killed literally one or two orders of magnitude more civilians in retaliation for 9/11 and still acts like it was the second largest tragedy in the history of mankind, only slightly below the Holocaust.

    Yes, 3000 victims is really bad, but what the US is doing about it is pathetic. It’s a simulacrum.





  • leisesprechertoScience Memes@mander.xyzFrog's Gift
    link
    fedilink
    English
    arrow-up
    12
    ·
    3 days ago

    Especially if you’d add up all the inefficiencies already introduced in the name of efficiency. All those grant proposals, superfluous fluff articles to bump impact factors, etc. are all required overhead to game a system designed to seem efficient.


  • leisesprechertoScience Memes@mander.xyzFrog's Gift
    link
    fedilink
    English
    arrow-up
    36
    ·
    3 days ago

    I heard the explanation “conservatives stop thinking if they like the current result”.

    If immigrants committed any crime, the obvious solution is to deport all of them. Less immigrants, less crime, sounds great, no further research needed.

    But if it’s about something like social security, they go to the ninth layer of indirection to “prove” that it’s bad, because now they found a study that slightly agrees with one of their talking points (p ≈ room temperature).