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

Programmer Humor

32561 readers
456 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
[โ€“] 0x0@lemmy.dbzer0.com 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 ๐Ÿฝ๏ธ.

[โ€“] lunarul@lemmy.world 3 points 1 month ago

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