Unterhaltung
Nachrichten
-
!TIL "Yoda Conditionals": if (5 == x) then... Because it's like saying "if blue is the sky" or "if tall is the man" https://blog.codinghorror.com/new-programming-jargon/
-
And !TIL that Yoda Conditionals are actually a pretty good idea: If you accidentally mistype 'if (5 = y)' then the compiler barfs instead of getting the unwanted side-effect of adding 5 to y with 'if (y = 5)' https://discourse.codinghorror.com/t/new-programming-jargon/41/5
-
...and !TIL to proofread messages before posting ("the unwanted side-effect of *assigning* 5 to y")
-
Interesting. My progression was from programming, to user support, to !sysadmin, and (hopefully more) teaching.
-