A lot of style guides even had to include guards against the worst one:
‘if (variable = “string”)’
I think that putting guardrails there by making the assignment operator stand out was a smart move. Annoying to use, but smart.
A lot of style guides even had to include guards against the worst one:
‘if (variable = “string”)’
I think that putting guardrails there by making the assignment operator stand out was a smart move. Annoying to use, but smart.