|
|
|
|
|
by jpc0
434 days ago
|
|
Auto as it is now has been in C++ since C++11, thats more than a decade ago... If your argument was C then sure thats a C23 feature (well the type inference type of auto ) and is reasonably new. This is much more a reflection on youe professor than the language. C++11 was a fundamental change to the language, anyone teaching or using C++ in 2025 should have an understanding of how to to program well in a 14 year old version of said language... |
|
> anyone teaching or using C++ in 2025 should have an understanding of how to to program well in a 14 year old version of said language...
If the current year is 2025 then 14 years ago is 2011 which is not that long ago.
> If your argument was C then sure thats a C23 feature (well the type inference type of auto ) and is reasonably new.
Grandparent comment is arguing that Linux was written in C89 until a few days ago so decades old books on C aren't actually outdated.