Objective:
This code-golf is about creating 2 different sourcecodes that both outputs exactly:
Hello, new world! again.
without linefeed, and when combining the two sourcecodes into one sourcecode it should still output exactly:Hello, new world! again.
Rules:
- Your programs should take no input (from user, filename, network or anything).
- You can choose any combination of programming languages, from one language for all three sourcecodes to three different languages.
- The combination of the two sourcecodes to create the third is done by putting alternating characters from both from start to end and fill up the third sourcecode from start to end.
- You must choose 10 different characters that both sourcecodes may use (case sensitive). All other characters is mutual exclusive between the two sourcecodes. Characters may be re-used without restriction. Exactly all 10 characters choosen must be used in both sourcecodes atleast once.
Clarification example on sourcecode combination:
Javascript sourcecode: console.log("Hello, new world! again.");
GolfScript sourcecode: 'Hello, new world! again.'
Combined (unknown?) sourcecode: c'oHneslolloe,. lnoegw( "wHoerllldo!, angeawi nw.o'rld! again.");
The above example does however violate rule #4 as more than 10 characters is "shared" in both sourcecodes. And the combined sourcecode does not output: Hello, new world! again.
Be sure to declare what programming languages is used (all three) and what 10 characters that is allowed in both sourcecodes.
This is code-golf, least bytes in combined sourcecode wins! Good luck, have fun!
,.:(
or the whitespace counted in the 10 common characters, or only letters? \$\endgroup\$