This question already has an answer here:

Your Task: Print "Hello, World!" using a palindrome.

Simple, right?


You have one restriction: you may not use comments.

"Comments" include

  • Normal // or # comments
  • Adding extraneous characters to a string literal
  • Triple-quoted string comments
  • Creating a string literal to hide characters

You may not use a pre-defined procedure to print "Hello, World!". (like HQ9+'s H command)

This is , so the shortest answer in bytes wins.


marked as duplicate by AdmBorkBork, Blue, FryAmTheEggman, jimmy23013, Mego Mar 31 '16 at 13:52

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 7
    \$\begingroup\$ Almost duplicate. I'll leave it up to the community to decide whether the comment restriction makes a sufficient difference or not. (Although I personally don't think comment restrictions work... once you get to 2D languages, you can easily include all sorts of code that isn't a no-op, but never happens to be executed.) \$\endgroup\$ – Martin Ender Mar 31 '16 at 13:25
  • 4
    \$\begingroup\$ I'm voting to close as a duplicate, since there are many answers from the other challenge that can be used without modification here. \$\endgroup\$ – AdmBorkBork Mar 31 '16 at 13:36
  • 3
    \$\begingroup\$ @CrazyPython Updating rules after an answer has been posted is highly frowned upon, on top of this already being a duplicate. For future challenges, I highly recommend using The Sandbox so you can get meaningful feedback on challenges before they're posted. \$\endgroup\$ – AdmBorkBork Mar 31 '16 at 13:50
  • 1
    \$\begingroup\$ @CrazyPython The fact that "joke" answers were allowed under the rules-as-originally-written highlights the fact that this challenge wasn't ready for posting to main. The fact that you're adding "no comments" to the restrictions doesn't change the fact that many answers from the linked challenge can be posted here without modification, making this one a duplicate. \$\endgroup\$ – AdmBorkBork Mar 31 '16 at 13:59
  • 1
    \$\begingroup\$ @CrazyPython No, sorry for being unclear. I meant that adding "no comments" as a restriction to "palindrome Hello World" doesn't make it a sufficiently different enough challenge to not be a duplicate. If you want to discuss this further, let's take it to chat. \$\endgroup\$ – AdmBorkBork Mar 31 '16 at 14:08

Stuck, 0 bytes

I think this wins? An empty program in stuck prints Hello, World!

Shamelessly stolen from this answer

  • \$\begingroup\$ And we have a winner.. +1 \$\endgroup\$ – Zach Gates Mar 31 '16 at 13:30
  • 2
    \$\begingroup\$ I just posted this to show how bad/repeated this challenge was, I don't expect anything from it \$\endgroup\$ – Blue Mar 31 '16 at 13:31
  • \$\begingroup\$ Standard loophole guidelines? \$\endgroup\$ – noɥʇʎԀʎzɐɹƆ Mar 31 '16 at 13:46
  • \$\begingroup\$ Look at the new rules. \$\endgroup\$ – noɥʇʎԀʎzɐɹƆ Mar 31 '16 at 13:47

Bash, 47 bytes

echo Hello, World!
!dlroW, olleH ohce

Gogh, 31 bytes

"Hello, World!"Ƥ"!dlroW ,olleH"


"Hello, World!"    “ Push the string literal ”
¡                  “ Output the TOS          ”
"!dlroW ,olleH"    “ Push the string literal ”
                   “ Non-implicit output     ”

Help, WarDoq!, 1 byte


Print Hello, World!.

  • \$\begingroup\$ And now with 2 bytes? \$\endgroup\$ – Awashi Mar 31 '16 at 13:34
  • \$\begingroup\$ Unfortunately I can't find a 2 byte palindrome for hello world :( \$\endgroup\$ – Blue Mar 31 '16 at 13:36

Not the answer you're looking for? Browse other questions tagged or ask your own question.