devxlogo

C++ origins

C++ origins

Question:
Who invented C++, and why is it so popular?

Answer:
C++ was created as an extension to C by AT&T researcher Bjarne Stroustrup, who built the first version of C++ in 1983. The reason C++ is so popular is because it provides additional ways to organize the logic behind complex software.

Early programs used jumps and goto statements. This has been labelled spagetti code because the thread of execution can be very difficult to follow. Newer languages support subroutines that are self-contained. This allows you to write more complex programs that are still easy to understand and maintain.

C++ is just the next step to this. By allowing you to organize the logic of your program in separate classes and enforcing rules of what cannot be accessed anywhere else in the program, C++ makes it even easier to organize the logic behind today’s ever more complex software.

See also  Professionalism Starts in Your Inbox: Keys to Presenting Your Best Self in Email
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist