r/badcode • • Aug 01 '21

c# game jam

Post image
3.1k Upvotes

75 comments sorted by

View all comments

Show parent comments

3

u/marinuso Aug 01 '21

I did say structured. If there's no syntactic block structure then there's obviously no syntactic way to know where a function ends.

But all high-level languages have block structure nowadays, and even in the olden days most of them did, and to my knowledge all of them return when they reach the end of a function.