New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SF.12, 3rd try #1570
Add SF.12, 3rd try #1570
Conversation
I agree with what I believe to be the intended reading of this rule. Is it sufficiently clear, though, that if angle brackets don't work the solution is to use quotes rather than change search paths? i.e. in the scenario where Perhaps clarifying this would be too much in the direction of hand-holding but I can imagine this cropping up in a code review where a less experienced developer has interpreted literally as "where you can" rather than "where you can without breaking other implied rules" |
good point, I can see how some will be tempted to do this. in fact in the windows OS build "." is added to the include path making <> work in cases where normally it does not. I'm open to edits that address this but maybe it does need to be. |
If I think of a way to express this concisely I'll suggest it but at the moment I'm struggling. |
Editors call: Great, thanks again for iterating on this and contributing it! |
Sorry for the infrequent feedback and thanks for putting the time into adding this rule. The title could be read the right way if only the details were correct. However, the advise is the same as in #1456 and I still suspect it's not quite right. I know a lot of people follow this practice so that's understandable. However, it isn't aligned with what our common toolchains do so I'm still concerned that it will cause confusion and perpetuate bad habits.
Project-specific files may need to use either
This would be true if the advise were correct. But again, using Apart from anything else, how does this apply to libraries outside the project? They are projects too. Should they use
The use of "relative" here is confusing because Please read the tool-chain documentation (my emphasis):
Would anybody mind if I fix this or is everybody in disagreement with me? I ask because my posts on the subject in the previous PR didn't receive much feedback so I still don't know if I'm onto a losing battle here. |
It seems to me like your objection is purely to |
No description provided.