this post was submitted on 25 Oct 2023
884 points (90.9% liked)

Programmer Humor

32725 readers
147 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] space_comrade@hexbear.net 2 points 1 year ago* (last edited 1 year ago) (1 children)

because no compiler can check to see if you thought of everything.

We can try to get closer to that with better language design. You'll never get there but I think there are obvious benefits as to why you'd want to do that.

I write way less bugs in Rust than I have in Java or C++, and that's mostly thanks to the language design.

I'm just tired of people entirely dismissing languages like C because they don't have these features. Especially when the operating systems their code runs on and their languages may even be implemented in C!

Because that code has been review and re-reviewed and patched by experts in the field for years. You're not gonna write a backend for an app with short deadlines in C because that would be absolutely fucking insane.

[โ€“] fox@hexbear.net 2 points 1 year ago

Right tool for the right job. C is a stupid choice for most modern apps but it's indispensable for embedded stuff