Why does C programming suck?

It sucks today in 2016 because it's a language built for the 70s, a sort of high level assembly language from the neckbeard era.
Consider the following syllogism:
 * Almost no one can write a useful program without using pointers and dynamic memory allocation in C.
 * Almost no one can write a bug free program in C which uses pointers or dynamic allocation
 * Ergo, a large number of useful programs in C are buggy
Java tried to solve this by removing pointers, but it has braindead semantics like:
1. if(str1 == str2) this_is_always = false; // even if the strings are equal
C++ tries to solve it by appending rocket science onto C, but a majority of so called C++ programmers try to use it like a better C or a better Java, which is not unlike someone trying to use a chainsaw to cut logs without starting the chainsaw. Then they complain that it doesn't work..
There has always been a better alternative to C, which can be just as efficient, just as close to the metal, and significantly more sensible.
This is called Pascal

Answer by Vivek Nagarajan:

It sucks today in 2016 because it's a language built for the 70s, a sort of high level assembly language from the neckbeard era.
Consider the following syllogism:
  • Almost no one can write a useful program without using pointers and dynamic memory allocation in C.
  • Almost no one can write a bug free program in C which uses pointers or dynamic allocation
  • Ergo, a large number of useful programs in C are buggy
Java tried to solve this by removing pointers, but it has braindead semantics like:
if(str1 == str2) this_is_always = false; // even if the strings are equal
C++ tries to solve it by appending rocket science onto C, but a majority of so called C++ programmers try to use it like a better C or a better Java, which is not unlike someone trying to use a chainsaw to cut logs without starting the chainsaw. Then they complain that it doesn't work..
There has always been a better alternative to C, which can be just as efficient, just as close to the metal, and significantly more sensible.
This is called Pascal

Why does C programming suck?

Advertisements

Leave a comment

Filed under Life

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s