Edible, Non-Toxic, and Food form a Venn diagram.
Edible, Non-Toxic, and Food form a Venn diagram.


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.


Honestly I haven’t seen a single article written by someone who actually understands the mathematics involved so I call a huge amount of HORSeSHIT on your headline.


The US is a shit hole country.
Enjoy spiralling the drain together.


No, workers are not doing more for less compensation then they were in 1811. Overall things have improved, though obviously not ideally or universally.
For instance we all have relatively cheap well made clothing in a variety of different designs, primarily because of the automation machines that the Luddites smashed. The problem with Luddites is that they blindly attacked automation when their issue was with capitalism.


It’s strikingly mask-off utilitarian discourse from a tech CEO
No it’s not. It’s literally just basic engineering and logic.
This article is nothing but rage bait for luddites.


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.


Omg, a sustainable, repairable, and open source project costs the same as a closed source, non repairable, locked down option … Those are totally the same thing!
/S


There is an open source project to replace the innards:


I’m Canadian, where 90% of illegal guns are smuggled up from the US.
Your mess is fully in our lane.


Make a relevant argument, or keep your mouth shut. No one needs to hear you talk other than you.


Gang violence is not a gun issue. It’s a educational, safety nets, and jobs issue.
Omg, so the US is the only country that ever experienced a lack of jobs?
Oh no! How I could be so stupid and forget that the US is a unique special snowflake child that doesn’t experience any of the same pressures of literally any other country on earth!
Grow the fuck up amerocentric child.


Yes, I see it differently. Notice how literally every single other country in the entire world doesn’t do what the US does?


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.


On top of that, the stats in the child deaths include 15-19 year olds, most of which are from gang shootings, not random 5 year olds being shot.
Yeah. So?
More children drown every year in pools than by gun deaths, yet no one is screaming to outlaw pools.
I do not understand why gun nuts cannot fathom the difference between something that has utility and can result in death, and something that serves no function other than being a point and click murder machine.


If you remove all guns, there will still be a thing that is number one.
The children who are not gunned down will not be killed by something else. It just lowers the overall death rate.
“Needlessly” is extremely undefined. Lots of things occur that are needless or claimed to be needless.
No it’s not. It’s defined in relation to the child death rates of peer countries.
https://jamanetwork.com/journals/jamapediatrics/fullarticle/2820614


Guns are the number one cause of death for American children, after automobiles, and America already has a higher automobile death rate than virtually all it’s comparable peers.
Since 1999, 400,000 American children have died needlessly.


No it’s not.
It might be to you, but there are enormous numbers of elderly and disabled people who would benefit from more assistance.
I still wouldn’t trust a robot around them given how inherently dangerous a massive motorized contraption is, but we also shouldn’t be blind to accessibility and utility just because we don’t personally need it.


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