Reply to post: Re: You can do that in C++

Rust in peace: Memory bugs in C and C++ code cause security issues so Microsoft is considering alternatives once again

martinusher Silver badge

Re: You can do that in C++

Pointers are essential for some types of software, like writing the code that manages strings and containers. The point isn't whether a particular technique is good or bad but rather whether it should be used in a particular situation. It was well known back in the early 80s that you didn't write end user applications in systems programming languages -- obviously you could but it would be messy and risky. Unfortunately when usable PCs first appeared there wasn't a lot of language support for them so apart from the built in BASIC the only usable compilers were for languages like C and Pascal**. This pretty much set the tone for everything that came after -- C++ was primarily used as a kludge to help programmers write graphical code but it was still "C and a bit".

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–2020