-6
\$\begingroup\$

This is mostly for the memes. I regret existing.

Rules

  • Your code has to output, by either printing or showing in stdout, the phrase This ain't it Chief. in that exact format.
  • You can only use the characters from the phrase in either format of

    • UTF-8 (Aa Cc Ee Ff Hh Ii Nn Tt Ss . ')
    • or hex bytes (41 61 20 43 63 20 45 65 20 46 66 20 48 68 20 49 69 20 4e 6e 20 54 74 20 53 73 20 2e 20 27)
  • No inputs are allowed via stdin or any form of user input.

  • Use JSFiddle, CodePen, etc. to prove your code works (or a screenshot if needed?)

Answer Formatting

 #Language - Code length in bytes
    some code
 #Comments, laughs, etc.

Scoring

  • This is code golf, so shortest code in bytes wins.
\$\endgroup\$
16
  • 4
    \$\begingroup\$ Welcome to PPCG! I suggest using the Sandbox for future challenge ideas: this site has a long history, and many simple ideas for challenges turn out to be duplicate or unpopular for various reasons. \$\endgroup\$
    – lirtosiast
    Feb 1, 2019 at 6:34
  • 1
    \$\begingroup\$ I reopened the question as it is no longer a duplicate. You should clarify what exactly You can only use characters from the phrase "This ain't it Chief." means. Only the characters '. CTaefhinst may appear in the source? Or only their corresponding byte values? Or maybe switching case is allowed? \$\endgroup\$
    – Laikoni
    Feb 1, 2019 at 9:07
  • 5
    \$\begingroup\$ I still see 3 problems with this challenge: 1. In most languages this is impossible as printing anything requires print("") or similar boilerplate. 2. Allowing a letter but not its byte value is a bit nonsensical, since all code is some sequence of bytes. Many languages don't use ASCII, and we wouldn't want to exclude those. 3. The overall winner will almost surely be in languages like /// that print the source unchanged in this circumstance. \$\endgroup\$
    – lirtosiast
    Feb 1, 2019 at 10:13
  • 1
    \$\begingroup\$ Do we really need to print "This ain't it Chief." rather than This ain't it Chief.? May we use the " character? \$\endgroup\$ Feb 1, 2019 at 13:06
  • 1
    \$\begingroup\$ Are you sure you are not missing the s in the list of allowed characters? \$\endgroup\$ Feb 2, 2019 at 8:37

4 Answers 4

2
\$\begingroup\$

CJam, 40 bytes

'T'h'i's' 'a'i'n'''t' 'i't' 'C'h'i'e'f'.

Try it online!

Explanation: 'T pushes a T to the stack, etc. CJam has an implicit output.

\$\endgroup\$
2
\$\begingroup\$

Japt, 43 bytes

'.ifieiiihi'CiSitiiiSiti''iniiiaiSisiiihi'T

Try it

Draco18s: As for the challenge itself, I don't think any language can work with that instruction set except by sheer coincidence

This is one such coincidence; Japt's i method prepends its argument to the string it's applied to.

\$\endgroup\$
1
\$\begingroup\$

APL (Dyalog Unicode), 22 bytes

A function returning the string, just for the lols.

'This ain''t it Chief'

Try it online!

Draco18s: As for the challenge itself, I don't think any language can work with that instruction set except by sheer coincidence

This is one such coincidence; You just need to type '' to escape a ' character, instead of using \'.

\$\endgroup\$
0
\$\begingroup\$

A, 1.07e192 bytes

insert 1070535411808274876356555204541421987893453317986634005193363842599488570060956068723122679013084672793132737522449327487355527954547514152318677638703786440293483566302887576787267171423983556 A's here

Obligatory Lenguage (well this isn't Lenguage but you know what I mean) answer.

Try the brainfuck online!

\$\endgroup\$
4
  • \$\begingroup\$ Your esolangs link for the language doesn’t work \$\endgroup\$ Jul 8, 2020 at 12:20
  • \$\begingroup\$ @caird coinheringaahing Fixed. \$\endgroup\$
    – PkmnQ
    Jul 8, 2020 at 14:55
  • \$\begingroup\$ The C of the last word isn't capitalized. \$\endgroup\$
    – user92069
    Jul 17, 2020 at 12:19
  • \$\begingroup\$ And it was also missing the period at the end. Anyways, fixed. \$\endgroup\$
    – PkmnQ
    Jul 18, 2020 at 7:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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