5 ms·
that makes them mammals!
by vbuwivbiu 8y ago
that makes them mammals!
- Retric 8y agoSeveral non mammals produce milk like substances for their young. https://en.wikipedia.org/wiki/Crop_milk https://en.wikipedia.org/wiki/Crop_milk includes antibodies, protean, and fat.
- denisw 8y agoTaxonomies seem to be just as problematic in biology as in object-oriented programming. :)
- too-soon-ago 8y agoimpl Lactation for Spider
- IgorPartola 8y agoWorse. In OOP you can at least mostly see where the thing comes from. In biology, evolution doesn’t readily provide the source code. It’d be like trying to name a class that inherits from a chain of obfuscated machine code snippets, some of which you can no longer see.
- TeMPOraL 8y agoTreating taxonomies as anything other than flexible convenience modeling is dumb, as experience with OOP teaches well :).
- kbutler 8y agoIt needs to be a "tagsonomy" - associate similar traits rather than a strict hierarchy...
- soyyo 8y agoWell, in this case, you just need to make a GiveMilkBehaviour interface and make a class for all the possible ways of giving milk. Now all animal classes that give milk implement that interface, use composition to include the proper way of giving milk, and the interface is implemented by delegation to that component. No need for that pesky Mammal superclass
- gus_massa 8y agoIt's not real milk. It's a nutritious fluid that is slightly somewhat similar to milk.
- TheSpiceIsLife 8y agoMammals are the vertebrates within the class Mammalia (/məˈmeɪliə/ from Latin mamma "breast"), a clade of endothermic amniotes distinguished from reptiles (including birds) by the possession of a neocortex (a region of the brain), hair, three middle ear bones, and mammary glands. Females of all mammal species nurse their young with milk, secreted from the mammary glands. I think they come up short on a couple other requirements. https://en.wikipedia.org/wiki/Mammal https://en.wikipedia.org/wiki/Mammal