Hacker News new | ask | show | jobs
by hak8or 2169 days 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.

1 comments

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