With "const" you still need to rely on devs being good citizens since const can be trivially casted away.
I've been programming in C for 25+ years. const is clutter.
I've been programming in C for 25+ years. const is clutter.
Yes, types can be trivially casted away too. That's not a reason to use void* everywhere.