Reply to post: Re: Oh, goodie!

Carnegie-Mellon Uni emits 'don't be stupid' list for C++ developers

Paul Crawford Silver badge

Re: Oh, goodie!

Remember this: C is basically a universal assembler, created to allow an OS to be written in a largely machine-independent manner. As a result it allows all sorts of potentially dangerous actions (in particular pointers, but not helped by some of the more odd/obscure syntax that sticks around).

Rule #1) If you can't program in assembler with any degree of success then don't use C

Rule #2) C++ adds some better features, and adds some worse features

Rule #3) If safety is more important than performance or universal support use another language.

Rule #3.9999999) Don't use flaky Pentium FPUs

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019