• 0 Posts
  • 29 Comments
Joined 5 months ago
cake
Cake day: December 11th, 2025

help-circle
  • Just once I want to see a subversion of the trope where someone goes to another country/planet, and instead of the noble savage trope, they go home going “Oh yeah I’m never going back there, it sucks. I caught a rash where my entire arm turned a pinkish brown. Absolutely terrifying place”.

    That, or they go to the other country, and are like “These savages are primitive, but they have PRIDE! They are a noble people!” and the natives aren’t even that different, they just have cassette tapes or use Betamax or HD-DVD. They’re sitting there watching Terminator or something and this guy is just freaking out. Oh! Oh the poor souls! Don’t they know that Blu Ray is the superior format?!







  • I wish GOG Galaxy and Playnite were good launchers. I don’t like Epic and I don’t like the stranglehold Steam has on the market. Basically I want a launcher where I can see all of my games, but I also want to be able to open as many stores as I want, and then be able to compare prices and then buy from each of those stores within the same launcher.






  • RedFrank24@piefed.socialtoProgrammer Humor@programming.devNo Microslop for me
    link
    fedilink
    English
    arrow-up
    117
    arrow-down
    17
    ·
    1 month ago

    I think that’s a tad excessive. Sure, Windows sucks, but it’s not my machine so I don’t give a shit. Now, if they expected me to bring my own machine and also insist that it’s Windows, I’ll get pissed off and refuse the offer. Their machine though? They can demand whatever they want, so long as I can actually do my job.

    9/10 times it’s not Windows I’m fighting against when I’m unable to do my job, it’s the IT department not giving me admin rights over the right folders so I can’t even install Docker without spending 3 days with them to get the right permissions.








  • Only if you’re going by the strict UML definition of composition, which doesn’t really apply here, since the industry has moved on a bit since UML was king.

    Either way, you can use DI to do composition in the strictest UML way, provided every single dependency is transient and creates a new instance every single time. Even then though, when most devs talk about composition, they aren’t referring to the strict UML definition.


  • If you’ve used Dependency Injection before, you’ve used the principle of composition over inheritance. So, if you’ve ever used .Net (C#), Spring Boot (Java) or Laravel (PHP), you’ve likely used it. Modern C++ also has the DI pattern.

    Rust and Go force you to use composition and don’t support inheritance at all, so if you’ve used either of those languages, you’ve followed the practice, though Go doesn’t support DI out of the box. Functional languages like Haskell also use composition over inheritance.