this post was submitted on 01 Mar 2024
813 points (98.2% liked)

Programmer Humor

32561 readers
426 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] PoolloverNathan@programming.dev 4 points 8 months ago* (last edited 8 months ago) (1 children)
[–] marcos@lemmy.world 3 points 8 months ago (1 children)

WTF! How does that even work?

What does the compiler do when there are 5 implementations for the same name, and none fit the type system?

[–] PoolloverNathan@programming.dev 1 points 8 months ago

Raises a runtime error. (Also, overloads don't exist.)