Skip to main content

Timeline for Trick or Treat polyglot

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Oct 27, 2016 at 9:43 comment added Art Didn't really go for golfing this, rather for obfuscation. puts(sizeof'a'-1?"treat":"trick") is shorter, but it's boring.
Oct 27, 2016 at 9:39 history edited Art CC BY-SA 3.0
added 8 characters in body
Oct 27, 2016 at 9:38 comment added Art @BoBTFish Old habits of being careful die hard.
Oct 27, 2016 at 9:37 comment added BoBTFish Note sizeof'a' works and saves you 2 bytes! In fact, I considered the prefix trick, and it actually costs more than it saves.
Oct 27, 2016 at 9:22 history answered Art CC BY-SA 3.0