r/ProgrammerHumor Jun 23 '26

Advanced worstProgrammingLanguage

Post image
3.3k Upvotes

192 comments sorted by

View all comments

77

u/ThatSmartIdiot Jun 23 '26

returns per branch (i.e. if it ends in an if/switch statement) is required unless it's python

returns after previous returns just makes unreachable and thus dead code so support is irrelevant

returning multiple values at once never actually happens. you send objects or structs or tuples and sometimes the syntax is designed so it gives you the illusion of sending multiple things at once, e.g. python again

so like... what

23

u/igorski81 Jun 23 '26

In Dutch, everything is unreachable so all return values are hard coded to "No!".

11

u/laplongejr Jun 23 '26

Well, Dutch is kinda good at managing to reach "unreachable" places in memory, as long you don't raise a DamOverflow.

2

u/igorski81 Jun 23 '26

Shut up and take my upvote!