Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
C's Biggest Mistake (2009) (digitalmars.com)
4 points by g4zj on Oct 13, 2023 | hide | past | favorite | 1 comment


I disagree because C is just a more humane assembler, it is unsafe intentionally. Look at all kinds of ugliness of C++ starting from why ZeroMQ can not be written in C++ and ending with [1] both of which were discussed here.

I believe the biggest C's mistake is when you say "int x" it means "mut signed int x" while I would like to have "const unsigned int x".

[1] http://lists.warhead.org.uk/pipermail/iwe/2005-July/000130.h...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: