4 ms·
But that problem exists for any C project that uses an external library. If the library defines something that the project already uses, then the project will n
by otikik 3y ago
But that problem exists for any C project that uses an external library. If the library defines something that the project already uses, then the project will not work.
In my mind that's not a problem with the decisions taken by the author of the article, it's more of a symptom of C's limitations.
- lelanthran 3y ago> But that problem exists for any C project that uses an external library. If the library defines something that the project already uses, then the project will not work. For libraries, yes, but we're talking about why the standard didn't do it. The standard did not want[1] to reserve keywords that current programs were already using. A library that conflicts on keywords will only break with those programs that use it. A standard that conflicts on keywords breaks all programs in that language. > In my mind that's not a problem with the decisions taken by the author of the article, it's more of a symptom of C's limitations. One of the constraints of taking decisions is to work within the limits existing framework - if you're avoiding the alternatives that don't break, then it's the decision-makers bug, not the frameworks. The framework has limitations, widely published and known. You make decisions within those limitations. [1] Although, they do do it, it's only with relectance, not on a whim to avoid typing a few characters)