points by jppittma 2 days ago | 0 comments
Where are you going with those goal posts?
[–] rini17 2 days ago
Goalposts are fine. If crypt did return union type, C still allows cowboy programmers to straight extract the char* without any check whether it's valid. So we'd end up in exactly the same situation.
[–] cannonpalms 2 days ago
I don't think the goal posts were moved. The comment you replied to referred to the "use"--not the existence--of sum types.
[–] Philpax 2 days ago
[–] jppittma 16 hours ago
Memory is where C is broken. I feel like without `defer` or destructors the language meaningfully is incomplete.