Читать книгу Beginning Programming All-in-One For Dummies - Wallace Wang - Страница 62

Adding object-oriented programming with C++

Оглавление

Although the C programming language is popular, it’s not perfect. When object-oriented programming became popular for designing and maintaining large programs, computer scientists created an object-oriented version of C called C++.

Because more people are writing and organizing large programs with object-oriented programming, more programs are being written in C++. Some people study C so they can understand the peculiarities of the C language. When they feel comfortable with C, they start studying C++ and object-oriented programming.

Other people just skip C and start studying C++ right away. The theory is that as a professional programmer, you’ll probably wind up writing and modifying C++ programs anyway, so you may as well study C++ from the start. After you know C++, you pretty much know enough to teach yourself how to write and modify C programs, too.

A far less popular object-oriented version of C is Objective-C, which used to be Apple’s official programming language until Apple switched to Swift.

Beginning Programming All-in-One For Dummies

Подняться наверх