2 of 6 added snarky warning about the snarkiness, which probably defeats the point XP

Warning: The following contains absurd levels of snark that might be dangerous to the eyes, hands, or soul of a moderately to severely sane reader. I promise there's a point to this at the end. Maybe.

If someone has beat you to the #1 with a one-liner, follow up with some extreme #3 by repeating their answer:

Jeff's answer is absolutely correct: Walnuts do taste great with cantaloupe.

Here's a code example that explains it a bit more:

public class Walnuts extends Cantaloupe implements DeliciousCombination { }

When writing walnut-related code, follow these steps:

  1. Determine if you need cantaloupes
  2. Determine if you have cantaloupes
  3. Eat the walnuts no matter what

Things to beware about cantaloupes:

  • They are less delicious without walnuts
  • They are much heavier than walnuts
  • Less people are allergic to cantaloupes than to walnuts

walnuts.org, the official specification for walnuts, has this mostly unrelated thing to say about them:

California grows more than 99% of the country’s supply
and two-thirds of the world’s walnut trade.

Additional resources about walnuts and cantaloupe recipes:

Wikipedia's page on walnuts, Wikipedia's page on cantaloupe, Wikipedia's page when I clicked random article

[Note/Edit/Update/Addendum/tl;dr/Other Indication of Superfluous Footnote] You should probably get rid of the magic number on line 1000000.

You will get upvoted more than the person who answered first, and you don't even need to know the answer beforehand. As long as you have some experience in the general field and you understand what the answer is saying, you can add completely unnecessary bits and reap the benefits of another person's hard work!

But in all seriousness, I don't think this trick is necessarily bad. You still have to put effort into your code example, lists, quotes, and finding related(ish) links. People upvote because it looks like you put more work into your answer (you might've) and because it's possible your answer is clearer to understand. Though Rule #1 says your answer will probably not get accepted.