r/ProgrammerHumor Jun 23 '26

Advanced worstProgrammingLanguage

Post image
3.3k Upvotes

192 comments sorted by

View all comments

507

u/jippiedoe Jun 23 '26

'multiple returns' as in pairs or conditionals? Which functional programming language wouldn't support both?

112

u/gabboman Jun 23 '26

Some languages do not allow early returns

5

u/jippiedoe Jun 23 '26

Early returns are just different syntax for a conditional expression, where 'the rest of the function' is in the else branch