Hacker News new | ask | show | jobs
by not2b 1610 days ago
C++11 is almost 11 years now, you no longer have to enter the type twice. Use auto to tell the compiler to infer the type.
1 comments

My whole point is that it wasn't feasible 12 years ago. Java 10 (which came with var) was released in 2018.