3 ms·
I once read a tip that said: "Read '=' as 'equals'. Read '==' as 'is equal to'" I made this error much less after picking up that habit.
by tome 17y ago
I once read a tip that said:
"Read '=' as 'equals'. Read '==' as 'is equal to'"
I made this error much less after picking up that habit.
- mahmud 17y agoFor efficiency reasons, try to stop reading source code in your mind. It's best to just feel it. Reading is is akin to mouthing words in a novel; the lip movement is distracting and slows you down. FWIW, I read = as "set" (the verb "to set") or "assign" or "let".