top | item 23741049

(no title)

hak8or | 5 years ago

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.

discuss

order

Leherenn|5 years ago

True, they are however often available as part of compiler extensions.