ma1w4re

joined 10 months ago
[–] ma1w4re@lemm.ee 6 points 2 months ago

Ah, I see lol. Thanks.

[–] ma1w4re@lemm.ee 23 points 2 months ago (7 children)

Is this just humor or there's a reason why people dislike rust? I'm curious.

[–] ma1w4re@lemm.ee 1 points 2 months ago

I like yuan more

[–] ma1w4re@lemm.ee 2 points 2 months ago

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

[–] ma1w4re@lemm.ee 15 points 2 months ago

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

[–] ma1w4re@lemm.ee 3 points 2 months ago* (last edited 2 months ago) (2 children)

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.

[–] ma1w4re@lemm.ee 15 points 2 months ago (1 children)

ngl RAX actually sounds cool and is memorable 🥺

[–] ma1w4re@lemm.ee 7 points 2 months ago

Being of certain race or nationality

[–] ma1w4re@lemm.ee 2 points 2 months ago

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

[–] ma1w4re@lemm.ee 172 points 2 months ago (13 children)

-40F 🤝 -40C

[–] ma1w4re@lemm.ee 4 points 2 months ago

Eyes of the world in my ass

[–] ma1w4re@lemm.ee 11 points 2 months ago

Thank you 🥺

view more: ‹ prev next ›