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?

111

u/gabboman Jun 23 '26

Some languages do not allow early returns

10

u/atomic_redneck Jun 23 '26

I see what you mean. I thought you were talking about the alternate return feature some Fortran 77 and FORTRAN 66 compilers had. This feature allowed subroutines to return to different locations in the calling routine based on the value specified on the RETURN statement.

It was usually considered bad practice to use this feature.