menu
Channels
Team

Whitespace

April 5, 2019 at 5:18pm
Is the reliance on exploiting parser wrinkles (particularly regarding separation whitespace) to get lower scores intentional, or a side effect?

April 5, 2019 at 5:31pm
I realized my initial question is probably unclear. I know competitors are intentionally using parser tricks to score lower. My actual question is, was the use of a naive character count algorithm meant to drive people toward finding those wrinkles to exploit, or no?
  • reply
  • like
Hello Eric. Yes! We were aware of these tricks and expect people to discover and use them.
  • reply
  • like
My guess is yes— it's pretty in the spirit of code golfing to leverage parser tricks and inconsistencies for a better score (see https://codegolf.stackexchange.com/)
It does get a little problematic due to browser differences though, I've seen solutions that work in firefox but not chromium-based browsers (which I believe is used to check accuracy)
  • reply
  • like
welp I typed too slow and now you have an official answer :D
  • reply
  • like
Okay, got it. Makes it hell for sharing solutions as instructional, but if that’s how code golfing is expected to be played, then I get why you’d stick to that approach.
  • reply
  • like