Write a palindrome that prints "Hello, World!" without using comments

-6

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

Simple, right?

Nope.

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.

noɥʇʎԀʎzɐɹƆ

Posted 2016-03-31T13:13:27.323

Reputation: 1 316

Question was closed 2016-03-31T13:52:12.437

7Almost 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.) – Martin Ender – 2016-03-31T13:25:35.093

This challenge has been done so much, it's been solved as 1 or even 0 byte answers in multiple languages – Blue – 2016-03-31T13:34:11.467

4I'm voting to close as a duplicate, since there are many answers from the other challenge that can be used without modification here. – AdmBorkBork – 2016-03-31T13:36:31.710

Maybe you can make it harder by requiring all the code affecting the output. Otherwise you get answers containing like-comments and one doesn't feel worth to write a more sophisticated one. – jimmy23013 – 2016-03-31T13:43:52.060

3

@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.

– AdmBorkBork – 2016-03-31T13:50:13.170

@TimmyD In this case it is necessary to close loopholes. It also only invalidates joke answers. – noɥʇʎԀʎzɐɹƆ – 2016-03-31T13:53:45.877

The center of the challenge is no comments. That makes it 300% harder. It's [tag:restricted-source]. – noɥʇʎԀʎzɐɹƆ – 2016-03-31T13:57:56.740

1@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. – AdmBorkBork – 2016-03-31T13:59:07.800

@TimmyD The original question the no comment restriction, I simply made it in a larger font. – noɥʇʎԀʎzɐɹƆ – 2016-03-31T14:01:18.573

1@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. – AdmBorkBork – 2016-03-31T14:08:26.600

Answers

4

Stuck, 0 bytes

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

Shamelessly stolen from this answer

Blue

Posted 2016-03-31T13:13:27.323

Reputation: 26 661

And we have a winner.. +1 – Zach Gates – 2016-03-31T13:30:54.947

2I just posted this to show how bad/repeated this challenge was, I don't expect anything from it – Blue – 2016-03-31T13:31:38.857

Standard loophole guidelines? – noɥʇʎԀʎzɐɹƆ – 2016-03-31T13:46:03.823

Look at the new rules. – noɥʇʎԀʎzɐɹƆ – 2016-03-31T13:47:35.970

2

Bash, 47 bytes

echo Hello, World!
exit
tixe
!dlroW, olleH ohce

mIllIbyte

Posted 2016-03-31T13:13:27.323

Reputation: 1 129

1

Gogh, 31 bytes

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

Explanation

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

Zach Gates

Posted 2016-03-31T13:13:27.323

Reputation: 6 152

1

Help, WarDoq!, 1 byte

H

Print Hello, World!.

Blue

Posted 2016-03-31T13:13:27.323

Reputation: 26 661

And now with 2 bytes? – Awashi – 2016-03-31T13:34:25.200

Unfortunately I can't find a 2 byte palindrome for hello world :( – Blue – 2016-03-31T13:36:39.513