Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
That developer will quickly learn the importance of composition over inheritance.
A friend of mine works extensively on hospital software & databases -- things like "hairline fracture on left hand 6th finger (postaxial polydactyly)" have lead to many late night discussions between us about the shortcomings of code & databases, and how we try to classify and categorize the real world into artificial hierarchies.
I mean, humans for example have a pretty strong opinion on where their physical form "stops" and "the outside" begins. But we don't consider ourselves a different person after a heart transplantation. When we eat a sandwich and absorb its molecules, we don't consider the human body to consist of 2% sandwich. Over the course of years, we replace the majority of the molecules in our body -- even the connections in our brain aren't static. Yet we describe ourselves as one, continuously existing, pretty much unchanged being, regardless of how much we change. -
But that does mean that any code & database data modeling is more geared towards requirements than reality.
You would only keep state change on nail length if applicable to your application -- and even so, probably only as a number.
Chromosomal Intersex classifications are a DBA's nightmare (or wet dream, depending on exactly how much you love data modeling)
Edge cases break OOP badly.
Dog extends Animal
MesodiniumChamaeleon extends AutotrophousPlantAnimals
GastrodiaKuroshimensis extends MycoheterotrophousCleistogamousPlantFungi -
kamen69954y@bittersweet I'm not judging you, I'm just trying to picture eating a 1.5 kg sandwich in one go.
-
eeee31504y@bittersweet the 'sandwiches' in How I Met Your Mother come to mind. Those really looked like 2% body mass sandwiches.
-
kiki353254yAyo bruh trump and kanye both totes has same big dick energy also x æ a-12 musk wuuuut
Oh wait, that’s not twitter. Totally forgot about that.
Related Rants
-
rephiscorth38Everyone here ranting about a fucking missing semicolon. I can't remember the last time a missing semicolon wa...
-
gururaju8Credit : 9gag Laughed so hard, that I had to defenitely post it on devRant.
-
CodesNotHot10-Laughed at Gitlab the other day -Accidentally dropped my db today. fuck karma
Finally, the time has come!!!!
joke/meme
class
lol
fuck
oop