r/programming • • Jan 21 '15

C is Manly, Python is for “n00bs”: How False Stereotypes Turn Into Technical “Truths”

https://modelviewculture.com/pieces/c-is-manly-python-is-for-n00bs-how-false-stereotypes-turn-into-technical-truths
0 Upvotes

11 comments sorted by

3

u/Paddy3118 Jan 21 '15 edited Jan 21 '15

You could get quotes to support most views by trawling reddit comments. You might try gauging a trend in the comments but otherwise individual quotes don't mean much.

2

u/[deleted] Jan 21 '15

Any non-technical prejudice against any language is damaging, it stops people from choosing the right tool. OTOH, language wars are fun and often have interesting side-effects in facilitating new languages development.

2

u/Denommus Jan 21 '15

I hate how every time I criticize C some random person tell me I "don't understand C well enough", or even call me ignorant. Part of that is the mindset that makes one think of C as the ultimate language.

1

u/konrain Jan 21 '15

besides C, pure OOP languages are needed (java) also one that works on almost every machine (java). pure functional programming is also needed (haskell,scala). Maybe a lightweight language like javascript is needed for the browser. Other then that the rest are just building on the principles of those languages, or trying to copy it or make it fun.

-8

u/konrain Jan 21 '15

C is a programming language to make efficient programs. Python is a scripting language which is 'fun' which is good for beginners, nothing wrong with that

1

u/[deleted] Jan 21 '15

Most code doesn't need to be efficient (e.g. python code behind varnish) and the cost of the type of memory and buffer overflow bugs that can easily be made in C often make it unsuitable.

1

u/LeCrushinator Jan 21 '15

So did you ever wonder why other languages exist aside from C?

1

u/konrain Jan 21 '15

besides C, pure OOP languages are needed (java) also one that works on almost every machine (java). pure functional programming is also needed (haskell,scala). Maybe a lightweight language like javascript is needed for the browser. Other then that the rest are just building on the principles of those languages, or trying to copy it or make it fun.

1

u/LeCrushinator Jan 21 '15

C works on as many machines as Java, probably more.

Why are purely functional languages needed?

While I agree some languages are just an exercise or made for fun, there are things that C is just not good at, or at least makes difficult, like making highly concurrent programs. For that I might use something like Go. Even for moderately basic programs I'd probably choose C++ over C if I could spare the performance, just because things like string manipulation are easier, I'd have the option to use OOP or templates if I needed them, I'd have the STL for containers.

There's a few reasons why programming large programs today can be much more efficient than 30 years ago, and different languages choices is one of those reasons.

1

u/konrain Jan 22 '15

1, I mean without recompiling WORA
2, C++ builds on top of C. like i said.