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
-
Well if woman is its own class then each individual instance is an object. That's how oop works :P
-
dtiwari1958y@ElectricCoffee well if each women is in its class then it must be a singleton class :P :D
-
Redders9578yyeah, if each woman has her own class, your model is all wrong! and scaling is going to be a pain in the ass
men are objects too, if that makes it any better ;-) -
dtiwari1958y@ThomasRedstone. But all men are same. .meaning instances of single class. Highly scalable. :D :P
-
Redders9578y@dtiwari, well, they'd both extend Person, and probably have a Child or Adult trait, but yeah, pretty extendable :-)
girl coder
undefined
girl coder joke