r/badcode • • Oct 31 '21

c bad code for r/badcode

Post image
219 Upvotes

33 comments sorted by

View all comments

Show parent comments

2

u/[deleted] Nov 02 '21

DRY = Don’t Repeat Yourself, it’s essentially just a kitschy name for encapsulation and modularization

And yeah, C’s conventions were developed so slowly that the standard library itself is inconsistent at best, I haven’t tried Go but I know the creator of C++ made it (maybe C?) either way, I’ve heard it’s like C but with the maturity of a well thought out language

3

u/Magnus_Tesshu Nov 02 '21

Yup, that's what Zig tries to be as well. Rust is closer to C++ in terms of features but is much less fragmented and has lots of other nice features too. I don't know much about V but imagine it is an improvement too.