Why do C++ programmers dislike C?

Asked by Last Modified  

Follow 5
Answer

Please enter your answer

Prof IT Trainer 15 years of Exp Provide Training Online Personal Class Institute School and Colleges

C++ programmers don't dislike C universally; some may find C limiting due to its lack of modern features like object-oriented programming and stricter type safety
Comments

"Transforming your struggles into success"

Some C++ programmers dislike C because it lacks modern features like object-oriented programming, type safety, and stronger abstractions, which C++ provides to make coding more efficient and less error-prone.
Comments

"Rajesh Kumar N: Guiding Young Minds from 1 to 12 with Expertise and Care"

C++ programmers may dislike C due to: 1. Lack of Object Orientation: C is procedural, while C++ supports OOP. 2. Manual Memory Management: C requires more manual handling of memory. 3. Complex Syntax: C++ features can make code more complex than C. 4. Error-Prone: C's simplicity can...
read more
C++ programmers may dislike C due to: 1. Lack of Object Orientation: C is procedural, while C++ supports OOP. 2. Manual Memory Management: C requires more manual handling of memory. 3. Complex Syntax: C++ features can make code more complex than C. 4. Error-Prone: C's simplicity can lead to more vulnerabilities. read less
Comments

Experienced & certified language instructor

C++ is often considered a more advanced language compared to C for several reasons: Object-Oriented Features: Unlike C, which is a procedural language, C++ incorporates object-oriented principles such as classes, inheritance, and polymorphism. These features provide greater flexibility and organizational...
read more
C++ is often considered a more advanced language compared to C for several reasons: Object-Oriented Features: Unlike C, which is a procedural language, C++ incorporates object-oriented principles such as classes, inheritance, and polymorphism. These features provide greater flexibility and organizational benefits, making C++ more suitable for managing complex software projects. Memory Management: C++ offers sophisticated memory management techniques, such as RAII (Resource Acquisition Is Initialization) and smart pointers, which help automate memory handling and reduce errors. On the other hand, C requires developers to manually manage memory with functions like malloc() and free(), increasing the risk of memory leaks or segmentation faults. Type Safety: C++ provides stronger type checking and introduces templates, enhancing type safety and reducing the likelihood of runtime errors. C's more permissive type system can sometimes lead to subtle bugs that are harder to detect. Tools and Libraries: C++ benefits from a rich set of modern development tools, libraries, and frameworks that streamline the development process. In contrast, C's standard library is more basic, making it feel somewhat outdated when compared to the broader capabilities available in C++. read less
Comments

C
Comments

Ex-IITian with over 8 years experience in Physics Chemistry and Maths and English

C was basically used to code the Linux system kernel ..and still in use today so its system specific or kernel specific development where it has coherency and mostly structured wise and low level control .C++ is mostly used in application programme building where objects lifetimes and usage are defined...
read more
C was basically used to code the Linux system kernel ..and still in use today so its system specific or kernel specific development where it has coherency and mostly structured wise and low level control .C++ is mostly used in application programme building where objects lifetimes and usage are defined and how they interact to produce other more objects and hence a more application specific. read less
Comments

View 4 more Answers

Related Questions

Can an array be an lvalue?
When you say array, do you mean array name i.e. address, or array element. Yes, array element can be lvalue
Vinodha
What are important topics in C language?
Variables and handling datatypes · Structures · Functions · Pointers · Arrays · Conditional statements and switches · File handling · System
Everest
0 0
5
Which language is best, C, C++, Python or Java?
If you want to learn any languages C#, Java, ect. then must to learn C, C++ language as these are base or language to be strong in language skills. C++ is improved version of C language. C#, Java, J# and etc. which are improved version of C++.
Sribaghya
0 0
6
Can a file other than a .h file be included with #include?
yes .h -- is just for our understanding that its header file, you are free to put any filename and extention.
Pankaj
0 0
7
Is c language easy to learn?
The ease of learning C language depends on an individual's prior programming experience and their familiarity with concepts like memory management. For beginners with no programming background, C might...
Vikash
0 0
6

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Creating First Program Using C Language
Step 1: Install and setup Turbo C compiler on your computer. Step 2: Open Turbo C from your Desktop or Programs menu. Select “File” from menu bar and select option “New”. Step...

Program to swap the value of two variables without using third variable(simplest way)...
int main() { int a=10,b=20; printf("values of a before swap ="%d,a); printf("values of b before swap ="%d,b); a=a+b; b=a-b; a=a-b; printf("******************"); printf("values of a after swap...

C Program-Prime Number
/*WAP to print a number entered by the user is prime or not*/ //Header files #include<stdio.h>#include<conio.h> //Main function void main(){ int num,i; //Function for clearing screen clrscr();...

INTRODUCTION TO PROGRAMMING LANGUAGES
Language is a medium for communication. If we want to perform anything with another person, we can know the human language as a human being. Similarly, if we want to perform anything with a computer, we...

Recommended Articles

Lasya Infotech is a Hyderabad based IT training institute founded in 2016 by O Venkat. Believing in his innovation, passion and persistence and with a diverse blend of experience, he started his brainchild to deliver exemplary professional courses to aspiring candidates by honing their skills. Ever since the institute envisions...

Read full article >

Brilliant Academy is one of the reputed institutes for B.Tech tuition classes. This institute is specialised in delivering quality tuition classes for B.E, Engineering - all streams and Engineering diploma courses. Incorporated in 2012, Brillant Academy is a brainchild of Mr Jagadeesh. The main motto of the academy is to...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Looking for C Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you