3 ms·
Shame they never fixed this. Would have been nothing to add a fn keyword at the beginning of all function definitions and then use the MS EEE strategy to bring
by jimbob45 3y ago
Shame they never fixed this. Would have been nothing to add a fn keyword at the beginning of all function definitions and then use the MS EEE strategy to bring it into the standard. Of the many changes the committee could make with C, I have to believe a function keyword would be among the least contentious.
- hardwaregeek 3y agoProbably couldn’t since people could have named functions “fn”. Although idk, one keyword breaking in 50 years is probably excusable
- lelanthran 3y agoWell they didn't mind trampling all over symbols that start with 'str', which is bigger breakage in my opinion, so they could have added a function keyword.
- __d 3y agoLeast, perhaps? But certainly contentious. In my view, the job of the C committee should be to eliminate undefined behaviour and any remaining specification ambiguities (or errors) and otherwise leave the damned language alone. If you want a new language every 3 years, you can always use C++.