• 1 Post
  • 576 Comments
Joined 2 years ago
cake
Cake day: June 22nd, 2023

help-circle
  • Exactly, Sci Fi writers almost never invent an entirely new technology for their books, they just look at current technology, think a bit about where it might head, think about how that could interact with broader societal forces, realize some flaw there-in, and write about it.

    Technologists are doing basically the same thing, looking at current technology, thinking about where it might head and what might be useful and/or profitable, and then start trying to overcome current obstacles to develop and build it.

    But one of them takes a single person a year or two to write a book, and the other has to start trying to do research and building things and testing them and breaking them and getting funding and overcoming the current obstacles etc. etc. If they start at the same time it will look like the technologist has just built what they were warned not to, when in reality they’ve been building it the whole time on a parallel path.



  • The SOLID principles are just that principles, not rules.

    As someone else said, you should always write your code to be maintainable first and foremost, and extra code is extra maintenance work, so should only really be done when necessary. Don’t write an abstract interface unless multiple things actually need to implement it, and don’t refactor common logic until you’ve repeated it ~3 times.

    The DRY principle is probably the most overused one because engineers default to thinking that less code = less work and it’s a fun logic puzzle to figure out common logic and abstract it, but the reality is that many of these abstractions in reality create more coupling and make your code less readable. Dan Abramov (creator of React) has a really good presentation on it that’s worth watching in its entirety.

    But I will say that sometimes these irritations are truly just language issues at the end of the day. Java was written in an era where the object oriented paradigm was king, whereas these days functional programming is often described as what OO programming looks like if you actually follow all the SOLID principles and Java still isn’t a first class functional language and probably never will be because it has to maintain backwards compatibility. This is partly why more modern Java compatible languages like Kotlin were created.

    A language like C# on the other hand is more flexible since it’s designed to be cross paradigm and support first class functions and objects, and a language like JavaScript is so flexible that it has evolved and changed to suit whatever is needed of it.

    Flexibility comes with a bit of a cost, but I think a lot of corporate engineers are over fearful of new things and change and don’t properly value the hidden costs of rigidity. To give it a structural engineering analogy: a rigid tree will snap in the wind, a flexible tree will bend.






  • You have very few guns being snuggled into CA

    Shut the fuck up. Literally almost all of the guns used to kill people here come from your fucking shit hole embarrassment of a country.

    Don’t minimize our issues because you shit your pants every fucking day and pretend like it’s normal.

    Gun ownership is a cancer on society, and America is becoming a fucking cancer on the world. Clean up your own fucking mess, and stop encouraging people to do the gun equivalent of literring because you’re a cowardice wreck. Use your guns to oppose your oppressive government, or shut the fuck up about guns being a necessity to oppose government oppression.

    Hungary has kept Orban in check through just showing up in the streets, but Americans think they’re special snowflake children who need point and click murder machines they won’t use to enact change. It’s a fucking embarrassment.








  • And there it is, the same disingenuous that the right uses for thier bullshit causes.

    It’s not disingenuous in any way shape or form.

    You have basically said that children killed in gang shootings don’t matter. Try not to throw right wing shade around when you’re parroting their racist talking points about which people do and don’t matter.

    A pool has no use, you cannot use it for defense or putting food on the table.

    Lmao, bruh, it’s this niche little exercise called swimming, you might have heard of it. Try and pull your head out of your ass before pointing us to all the examples you have where ICE has been stopped by people with guns.






  • Really makes me try and catch myself complaining and just to stop it.

    A lot of conversations revolve around ‘dont you just hate this one process, or people like x, or y never works’ and it’s always weary and exhausting, but much more so since I became the tech guy and realize how much people default to stories like that when they have nothing else to say about your profession.

    If you want to say ‘ive noticed that x never seems to work properly and I’m wondering why it couldn’t be fixed with z’ and are genuinely curious I’m more than happy to problem solve and/or explain complexities, but most people never want to hear a complicated answer about systemic forces.