Skip to main content
2 of 2
typos
anatolyg
  • 13.9k
  • 11
  • 12

Stop upvoting trivial solutions

It's easy to imagine why a new user would be frustrated when the highest-voted answer is a 3-byte solution in a golfing language with a built-in that nearly solves the problem. It feels like no matter how hard they golf in a conventional language, their solution will get much less recognition than an answer rushed out in the first five minutes. They feel like the goalposts have been moved.

It's all nice to say that it's a competition in each language, but the golfing language solution is on top with huge score, and theirs is not. And for the questions in HNQ that outside users see most, there are sometimes a bunch of similar golfing language solutions on top, and any new answer might languish on the second page.

This needs to stop.

Be discerning with your votes. Don't upvote answers just for being really short. Don't upvote them for already having a lot of votes. Upvote them for being well-golfed, for doing something clever, for using language features in an imaginative way. View all the submissions, not just the top couple, and don't be afraid to be the first upvote.

Now, I suspect I'm talking to the wrong audience here. I suspect the culprits are new-ish users who haven't absorbed that terse solutions that look gibberish are par for the course in golfing languages. I imagine they think the poster is the most amazing golfer ever for making such a magically short and strange solution. Or, they are amazed by the language and so upvote every solution in it.

I should add that highly-voted trivial solutions happen in conventional language too. These should not be upvoted so much. And, that terse golfing solutions can be the result of clever use of language features, not just use-the-obvious-built-in. These should be upvoted. I advocate voting for the solution, not the language. Its just that golfing languages have lots of powerful built-ins, so are more likely to allow a trivial solution.

xnor
  • 146.6k
  • 3
  • 93
  • 131