Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

C's «static» and «auto» also come from PL/I. Even though «auto» has never been used in C, it has found its place in C++.

C also had a reserved keyword, «entry», which had never been used before eventually being relinquished from its keyword status when the standardisation of C began.



C23 also has reused auto as C++, although type inference is more limited.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: