3 ms·
Sigh. You're right. There's also a matter of how you use the language. One can make C a lot stronger by using structs as ADTs. Just have the struct include only
by phamilton 10y ago
Sigh. You're right. There's also a matter of how you use the language. One can make C a lot stronger by using structs as ADTs. Just have the struct include only one field (example, a minutes struct that's only one int). That gives you a lot of compile time guarantees (you can't add minutes and seconds without using a function designed to do so).