this post was submitted on 11 Oct 2024
834 points (98.2% liked)

Programmer Humor

32501 readers
478 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] 10 points 1 month ago* (last edited 1 month 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 ๐Ÿด.

[โ€“] [email protected] 3 points 1 month ago

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