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

Why is the C program giving the wrong output?
Hai, maybe the syntax in the program was wrong, once check it and try again.
Chandra
0 0
5
How do I send a C program via email?
upload your file in gdrive then use that link you can easily email that program
Furqankhan
0 0
5
What are the main characteristics of c programming?
C programming is known for several key characteristics that contribute to its popularity and versatility. First and foremost, C is a procedural programming language, meaning it follows a top-down approach...
Balendra
0 0
6
Can you suggest me some books for learning C?
"letus c" for c programming yashwant kanetkar
Yamun
Which websites are best to learn C programming?
Geek for Geeks and programiz etc
Ritu
0 0
5

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

Ask a Question

Related Lessons

An Interesting discussion about malloc( ) and calloc( )
What are malloc( ) and calloc( )? Simply putting they are the predefined functions in C language. Malloc( ) and calloc( ) are two such functions which are used for more or less identical purpose and...

Necessity of Theory and Practical in Computer Science.
Upon studying a subject both theory and practical are important. Usually many schools concentrate more on theory and the marks not on the practical. Other and opposite kind of people prefer practical...

Facts about C language
C programming language was developed in 1972 by Dennis Ritchie at AT&T Bell Labs. It was developed to overcome the problems of languages such as B, BPCL. It was developed to write the Unix operating...

Some interview questions for freshers on C language
Q1. What are the two forms of #include? There are two variants of #include. The one is #include and the other one is #include”file”. In general the first form that is #include is used to...

How to write shared library program using C Programming?
Library Name : hellofilename : hello.c#include void Hello(){ printf("Hello World .. How are you 1\n");}======================================Header File:hello.h#ifndef __HELLO_H#define __HELLO_Hvoid Hello(void);#endif===============================Application...

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