Avatar

ma1w4re

ma1w4re@lemm.ee
Joined
0 posts • 75 comments
Direct message

I like yuan more

permalink
report
reply

It is simpler than my faulty memory remembers, time to learn python again 😁

permalink
report
parent
reply
15 points

I love the kind of a woman that would actually just kill me

permalink
report
reply

Inheritance established “is a” relationship between classes.

class Turtle;  
class TigerTurtle is a Turtle (but better);  
class BossTurtle is a Turtle (but better);  

Underlying classes hold an inner object to the super class, everything from Turtle will be in TigerTurtle and BossTurtle.

In some languages that is configurable with public, private, protected keywords.

Relatedly, there’s also composition, which establishes a “has a” relationship:

class TurtleTail;
class Turtle:
  var tail: TurtleTail; (has a tail);

Since Turtle is NOT a tail, but a whole animal, turtle should not inherit TurtleTail. But it HAS a tail, thus we add turtle tail as a property.

permalink
report
parent
reply

ngl RAX actually sounds cool and is memorable 🥺

permalink
report
parent
reply

Being of certain race or nationality

permalink
report
reply

If It doesn’t render correctly on your end, prompt is just emojis.

permalink
report
parent
reply
170 points

-40F 🤝 -40C

permalink
report
reply

Eyes of the world in my ass

permalink
report
reply

Thank you 🥺

permalink
report
reply