Uh oh!
There was an error while loading. Please reload this page.
Compare strings with strict equality operators - #2582
Conversation
b6399cd to
b81547fCompareseishun
commented
Aug 27, 2015
Why? If it doesn't change the behavior, then it's pointless code churn. If it does, then it's a breaking change. |
This patch makes sure that the strings are compared with strict equality operator.
This patch makes sure that the strings are compared with strict equality operator.
This patch makes sure that the strings are compared with strict equality operators.
This patch makes sure that the strings are compared with strict equality operators.
b81547f to
301e14fComparervagg
commented
Aug 28, 2015
agreed, I'm somewhere between -1 and -0 on this, unless there's a measurable performance gain from doing this then I'm not a fan, sorry for the second negative comment in a row @thefourtheye |
thefourtheye
commented
Aug 28, 2015
ronkorving
commented
Aug 28, 2015
lgtm, it's one step in the direction of unification (style, if nothing else). |
seishun
commented
Aug 28, 2015
I'm not convinced that the majority agrees on the "use |
pmq20
commented
Aug 28, 2015
@seishun if it were a breaking change then it would be picked up by the CI. And I think the code churn is not pointless, because |
ronkorving
commented
Aug 28, 2015
Also, he applied it partially because last time he did it not-so-partially and got bad feedback on that. |
rvagg
commented
Aug 28, 2015
Not true, we don't have 100% coverage and we certainly don't test anything near the number of weird ways people use Node and are expecting it to behave. We have a diverse ecosystem and are always running in to edge-cases and subtle bugs encountered by novel uses. |
pmq20
commented
Aug 28, 2015
@rvagg Agreed with you. 👎 on the PR then. |
cjihrig
commented
Aug 28, 2015
Also -1. Just make changes like this when you're modifying the code for more meaningful reasons. |
Fishrock123
commented
Aug 28, 2015
Yeah... it's hard to agree to change these once they are there. We should just make sure we always land with strict equality, unless explicitly sating why otherwise. |
Previous effort: #2392
CI Run: https://jenkins-iojs.nodesource.com/job/node-test-pull-request/189/