3 ms·
I like these terms, and the illustrations are excellent. Only a couple of comments on some of the earlier ones: > Yoda conditions... ""if tall is the man" Sho
by ripe 3y ago
I like these terms, and the illustrations are excellent. Only a couple of comments on some of the earlier ones:
> Yoda conditions... ""if tall is the man"
Should be "if tall the man is".
Also, in the Egyptian bracket style example, the printf line is not indented on my screen, making my eyes bleed.
- frumiousirc 3y ago> Yoda conditions An actually useful habit for those times one typos `=` instead of `==`.
- greatgib 3y agoIn my opinion it is an useless habit that makes the code less readable and harder to review. At the opposite, in my long professional life, I never saw such a bug or it not being noticed in the second.
- karmakaze 3y agoOr languages where `==` isn't actually symmetric and overloading/monkey-patching is possible and not uncommon.