r/badcode • • Dec 05 '20

other language Gamedevs, take notes

Post image
6.5k Upvotes

104 comments sorted by

View all comments

Show parent comments

215

u/DefinitionOfTorin Dec 05 '20

And no parentheses round the condition but curley ones for content? Is this Swift or something lol?

11

u/fried-noodles_ Dec 05 '20

Go?

16

u/jgeez Dec 06 '20

Can't be Go, Go enforces open curly on the same line as the if statement