Re:Rust on the ESP32 (2019)
by Leherenn on Sunday July 05, 2020 @11:56AM
(#23739611)
C versions after 89 doesn't bring much to be honest.
So either you want more than what C can offer you, and usually the option is C++, or you're fine with what you have.
[ Parent
| on HN ]
Bieng able to declare variables after statements in a function is huge, letting you make them const as needed.
Also declaring the index variable in a for loop like for(int i =0; i < 10; i++) is extremely helpful.
Those two alone are extremely beneficial.
True, they are however often available as part of compiler extensions.