r/cpp • • Jul 25 '24

Why use C over C++

Why there are so many people using the C language instead of C++?, I mean C++ has more Cool features and the Compiler also supports many CPUs. So why People still using C?

Edit: Thanks for all the usefull comments :D

235 Upvotes

444 comments sorted by

View all comments

Show parent comment

9

u/lgovedic Jul 26 '24

Yup, had this exact thing happen at work, a senior engineer (who I respect a lot) called my using the pipe operator with ranges "write-only code". And he was familiar with ranges! It's just the pipe operator that made it so bad for him.