this post was submitted on 11 Oct 2024
822 points (98.1% liked)

Programmer Humor

32706 readers
743 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

cross-posted from: https://lemmy.zip/post/24335357

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 9 points 2 months ago* (last edited 2 months ago) (1 children)

Take a look at all the struct definition. It's a pure virtual method of ๐Ÿด with a bunch of overrides in the structs that inherit from ๐Ÿด.

[โ€“] lunarul 3 points 2 months ago

Oh, right, using the same function name in multiple structs is what threw me off