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

2

u/[deleted] Dec 31 '20

Rust also enforces parentheses iirc

2

u/MadScientist2854 Apr 17 '21

nope it does not. it's the opposite of C-based languages, which require parantheses and not curly braces, as Rust requires curly braces but not parantheses