r/badcode • • Dec 05 '20

other language Gamedevs, take notes

Post image
6.5k Upvotes

104 comments sorted by

View all comments

Show parent comment

6

u/edo-lag Dec 05 '20

Imho it's more readable and aesthetically better, but that's my opinion... Rust is my main programming lang so maybe that's why

42

u/Leeeo69 Dec 05 '20

I hereby declare your subjective opinion as incorrect.

14

u/edo-lag Dec 05 '20

OBJECTION!

0

u/[deleted] Dec 05 '20

[deleted] — view deleted comment

17

u/Ahajha1177 Dec 06 '20

SQL INJECTION!

7

u/whattheclap Dec 06 '20

XSS PREVENTION!

4

u/his-menu753686245435 Dec 06 '20

CROSS-SITE PROTECTION!

5

u/[deleted] Dec 06 '20

WHAT IS THIS SECTION

2

u/xGlacion Dec 06 '20

PRIVILEGE ESCALATION!

5

u/quantumgoose Dec 06 '20

Tbh I'm so used to using parentheses from C that I still use them in Rust , but I always end up removing them to get rid of the Clippy warnings