General > General Technical Chat

How many people code in C these days, and if so, why?

<< < (91/99) > >>

Kjelt:
Robert C Martin, Clean Architecture forword, comparing his begin days in the 60s to when he wrote the book in 2016:

"And there is one thing more about the software we have now, compared to the software back then: it's made of the same stuff.
It's made of if statements, assignment statements and while loops.

Oh, you might object and say that we've got much better languages and superior paradigms.
After all, we program in Java, or C#, or Ruby and we use object-oriented design.
True- and yet the code is still just an assemblage of sequence, selection, and iteration, just as it was back in the 60's and 50's.

When you really look closely at the practice of programming computers, you realize that very little has changed in 50 years."

paulca:

--- Quote from: Berni on May 19, 2020, 07:41:24 am ---If the file is 10GB in size and you have 1000 of them to parse trough on a daily basis then yeah you might want to go for C so that you don't sit around and wait for it each day.

--- End quote ---

For that there is PySpark.  Or Java Spark.

cgroen:

--- Quote from: Wojciech Krolopp on May 19, 2020, 06:26:21 am ---Using C is like driving a car with manual gearbox. It's great fun and about as simple as it can get (only engine, clutch, gearbox, transmission and finally wheels). Sure, you need some practice, you need to think what you're doing but millions of people do it every day safely.

Interpreted languages like Python or LISP are similar to modern cars with automatic gearboxes. They are electronic, full of nice features, automation and safety devices but they are also sluggish (because emission regulations!) and lack any fun of driving. And when they break they cost thousands of zlotys for parts like some stupid sensor.  |O   I think people who code in Python are the same people who drive cars with automatic gearboxes. They are just clueless and don't want to use their brain. Computer engineer needs to understand what's going on under the hood, otherwise is he an engineer or just monkey who pushes "ok" button?

For daily driving I have a 1997 VW Passat B3 that I will use as long as it keeps running and passes yearly inspections. Spare parts are cheap too! I also own ex-military FSR Honker with Polish-made Andoria 4C90 engine that I fixed myself (some rust needed to be welded-over). Honker has zero electronics and is very reliable when you know what to check periodically. It's great car to go camping in remote areas because it will drive almost through everything (like old Land Rovers).

Once I had a chance to drive car with automatic gearbox and it was a horror. You have no control over vehicle whatsoever.

--- End quote ---

Hmm, so people that program in assembler drives a horse wagon ?
I program in C (and have been doing that for 35+ years) but drive a car with automatic transmission, so there goes the idiotic theory....
(and I think I would rather be in a car crash in my 3 year old Volvo XC70 than in your 23 year old Passat ;) )

chriva:
"Hmm, so people that program in assembler drives a horse wagon ?"

More like a spaceship with a million buttons. This is no limit to the insanity you can do ;)

Kjelt:
There are still some things you can do in assembly and not in C. :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod