the author of C++ said that C gives you many opportunities to shoot yourself in the leg. You have a much less chance for this to happen with C++, but when it does, you will blow your whole lower body off
I haven’t used either, but compiled a lot of C source code and they compiled or could be adjusted easier even for someone who barely knows what printf, fopen, or #include are
C++? Shoot me
the author of C++ said that C gives you many opportunities to shoot yourself in the leg. You have a much less chance for this to happen with C++, but when it does, you will blow your whole lower body off
Yeah C++ is a bazooka, C is like the death of 1000 paper cuts.
The paper cuts are all poisonous and kills you anyway.
I haven’t used either, but compiled a lot of C source code and they compiled or could be adjusted easier even for someone who barely knows what printf, fopen, or #include are
The thing with C is that you probaby won’t know you messed it up. It happens silently as memory gets corrupted.
Modern compilers are much more advanced but you still can overwrite stuff in memory with other stuff
deleted by creator
C++ is a bazooka that only fires when it’s pointed at your feet
Wat? Don’t you dare talk that way about my favorite multiple personality disorder clusterfuck of a language.
C is the only language, all the rest are mental disorders (/j 😉)
Edit: maybe rust, but it’s on thin ice XD
https://lemmy.ml/pictrs/image/1e62ab66-3b67-4d48-aecd-86b783091906.jpeg
I still.like fortran better. (And I am not even lying.)
For anything mathematical, the fact that Fortran has integrated support for doing math on arrays is absolutely fantastic
As someone that has programmed professionally a good chunk in C for embedded systems (basically it’s home turf), fuck C.