The problem is that people should have stopped using C for new projects, because it's so obsolete and terrible.
It's an indictment of how unprofessional the Industry is.
C generated by pre-processors or cross-compilers etc is fine. That's just using it as sort of machine independent assembler. It's not the same problem as human written C which has no advantages at all and only disadvantages now.
C++ was better than C in 1987 and now much better. It would have been better still if AT&T hadn't insisted on C compatibility. I've debugged so many stupid programs that are allegedly C++, but really more like C compiled with a C++ compiler.
Last edited by Quoth; 12-27-2022 at 05:04 AM.
|