this post was submitted on 25 Mar 2024
14 points (69.4% liked)

C Programming Language

998 readers
1 users here now

Welcome to the C community!

C is quirky, flawed, and an enormous success.
... When I read commentary about suggestions for where C should go, I often think back and give thanks that it wasn't developed under the advice of a worldwide crowd.
... The only way to learn a new programming language is by writing programs in it.

© Dennis Ritchie

🌐 https://en.cppreference.com/w/c

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] ExperimentalGuy 12 points 8 months ago (1 children)

The core principle of computer-science is that we need to live with legacy, not abandon it.

The problem isn't a principle of a computer science, but one of just safety. Also, who said this is a principle of computer science?

[–] lysdexic -4 points 8 months ago* (last edited 8 months ago)

The problem isn’t a principle of a computer science, but one of just safety.

I think you missed the point entirely.

You can focus all you want in artificial Ivory tower scenarios, such as a hypothetical ability to rewrite everything from scratch with the latest and greatest tech stacks. Back in the real world, that is a practical impossibility in virtually all scenarios, and a renowned project killer.

In addition, the point stressed in the article is that you can add memory safety features even to C programs.

Also, who said this is a principle of computer science?

Anyone who devotes any resource learning software engineering.

Here's a somewhat popular essay in the subject:

https://www.joelonsoftware.com/2000/04/06/things-you-should-never-do-part-i/