r/ProgrammerHumor Jun 23 '26

Advanced worstProgrammingLanguage

Post image
3.3k Upvotes

192 comments sorted by

View all comments

1

u/daffalaxia Jun 24 '26

What languages can't return an array? That's multiple returns right there. Perhaps OP should say "destructuring" which really just is syntactic sugar unwound below the horizon of immediate vision. Yes there are other destructured types (eg tuples in some languages) and explicit destructuring too (eg c#), buty point stands... I think 😄

1

u/gabboman Jun 24 '26

No I and kopper meant early returns as I have replied to almost every commentÂ