Hacker Poesy
  • FAQ
  • Login
  • Public

    • Public
    • Groups
    • Recent tags
    • Popular
    • Directory

Conversation:

Notices

  1. Former Bob Jonkman -- Please use the new server at https://gs.jonkman.ca (bobjonkmanformer)'s status on Wednesday, 02-Nov-2016 22:11:59 EDT Former Bob Jonkman -- Please use the new server at https://gs.jonkman.ca Former Bob Jonkman -- Please use the new server at https://gs.jonkman.ca
    Remote profile options...
    !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/
    Wednesday, 02-Nov-2016 22:11:59 EDT from sn.jonkman.ca at 43°36'0"N 80°32'58"W permalink
    • Joshua Judson Rosen likes this.
    • Joshua Judson Rosen repeated this.
    • Former Bob Jonkman -- Please use the new server at https://gs.jonkman.ca (bobjonkmanformer)'s status on Wednesday, 02-Nov-2016 22:15:09 EDT Former Bob Jonkman -- Please use the new server at https://gs.jonkman.ca Former Bob Jonkman -- Please use the new server at https://gs.jonkman.ca
      Remote profile options...
      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
      Wednesday, 02-Nov-2016 22:15:09 EDT permalink
    • Former Bob Jonkman -- Please use the new server at https://gs.jonkman.ca (bobjonkmanformer)'s status on Wednesday, 02-Nov-2016 22:16:50 EDT Former Bob Jonkman -- Please use the new server at https://gs.jonkman.ca Former Bob Jonkman -- Please use the new server at https://gs.jonkman.ca
      Remote profile options...
      ...and !TIL to proofread messages before posting ("the unwanted side-effect of *assigning* 5 to y")
      Wednesday, 02-Nov-2016 22:16:50 EDT permalink
    • lnxw48 (Linux Walt) (lnxw48)'s status on Wednesday, 02-Nov-2016 22:28:04 EDT lnxw48 (Linux Walt) lnxw48 (Linux Walt)
      Remote profile options...
      • Former Bob Jonkman -- Please use the new server at https://gs.jonkman.ca
      I came across this (without the catchy name) in a !cplusplus course I took in the late #1990s. As I drifted first toward the sysadmin side, then toward user support, I forgot both.
      Wednesday, 02-Nov-2016 22:28:04 EDT permalink
    • Former Bob Jonkman -- Please use the new server at https://gs.jonkman.ca (bobjonkmanformer)'s status on Thursday, 03-Nov-2016 00:00:45 EDT Former Bob Jonkman -- Please use the new server at https://gs.jonkman.ca Former Bob Jonkman -- Please use the new server at https://gs.jonkman.ca
      Remote profile options...
      • lnxw48 (Linux Walt)
      Interesting. My progression was from programming, to user support, to !sysadmin, and (hopefully more) teaching.
      Thursday, 03-Nov-2016 00:00:45 EDT permalink
    • Joshua Judson Rosen (rozzin)'s status on Monday, 07-Nov-2016 02:56:36 EST Joshua Judson Rosen Joshua Judson Rosen
      • Former Bob Jonkman -- Please use the new server at https://gs.jonkman.ca
      The biggest problem with yoda typocheck isn't the syntax, it's the shaky foundation: if you want your LHS to be const, you're better off just casting your LHS to const.
      Monday, 07-Nov-2016 02:56:36 EST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • Privacy
  • Source
  • Version
  • Contact

Hacker Poesy is a GNU social hub. It runs version 1.1.3-beta3, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Hacker Poesy content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.