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
-
retoor7722d@electrineer who didn't, it's one of the first things you do if you see an unknown substance that doesn't smell too weird. It's a less weird to find out than that a potato has to be cooked. How the fuck did we invent cooking.
@TerriToniAX we'll never find out if it is as addicting as cooking bevause you prolly die before having a redrawal symptom. It's hard to test. -
@retoor
That's precisely what I meant :) One will die before developing an addiction.
Cosmetics are usually claimed to keep you young, but you can turn it around, never to become old, and that's where lead and all of its derivatives come in handy. -
kiki352541d@Lensflare “I can swallows sugar then if I can swallows it then it is sugar” is an idiotic example of duck typing. But “If it looks like sugar, if it tastes like sugar, and if it doesn’t poison me as quickly as sugar does, then it’s sugar” works in my case. Don’t blame the concept of duck typing for downsides of bad implementations
-
kiki352541d@Lensflare in the end, you only really care about properties, not entity names. The difference between that is a game of resolution.
-
@kiki no, I care about types, not properties.
It‘s not about entity names but types. It‘s called duck typing, not duck naming.
If you go by properties, you poison yourself.
This was a joke anyways. There is no point in seriously comparing duck typing with the real world. -
kiki352541d@Lensflare properties make a type, as accessing properties is the only way you can interact with a type. A type with no properties might as well not exist at all. And yes, type’s name is a property too.
-
Lensflare1747624h@kiki That‘s not true at all. A type is more than its properties.
A very basic example is a person with the property name and a a planet with the property name.
A person is very different from a planet, even if both have the same properties.
Also, a type can have functions/methods and other stuff like nested types, generics and interface conformances. -
kiki3525422h@Lensflare person and planet have a lot in common. They have names, they have masses, they’re made of atoms, etc. Methods are just callable properties
This is lead acetate. It looks like sugar and tastes like sugar, yet it’s as toxic as lead.
Have a good day!
random