# Challenge:

Your task is to use any language to output that language's name times the number of character's in its name.

• Use the common name or acronym of the language.
• If there are multiple versions of a language, you need not include the version number.
• The capitalization matters.

Examples:

PHP -> PHPPHPPHP
Java -> JavaJavaJavaJava
C++ -> C++C++C++
Python 3 -> PythonPythonPythonPythonPythonPython
JavaScript -> JavaScriptJavaScriptJavaScriptJavaScriptJavaScriptJavaScriptJavaScriptJavaScriptJavaScriptJavaScript


## closed as unclear what you're asking by FlipTack, TanMath, Rɪᴋᴇʀ, Sriotchilism O'Zaic, 0 'Dec 26 '17 at 15:42

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• Tasks that depend on a language's name are a form of disadvantaging some languages by arbitrary criteria. – Martin Ender Dec 17 '17 at 15:08
• I think this challenge would have been a lot more interesting if the repetition count was supposed to be our bytecount... – NieDzejkob Dec 17 '17 at 16:53
• And because it hasn't been said yet: Welcome to PPCG! I hope you stick around despite your probably confusing first impression of people telling you that this is not a good challenge while one answer after the other arrives. – Laikoni Dec 17 '17 at 21:06
• @DonielF is that shortest though? – Quintec Dec 18 '17 at 20:09
• IMO this is unclear. Use the common name suggests that, for example, JS could be used for JavaScript. But what's to stop me saying that my language "Language" is more commonly known as "L"? – FlipTack Dec 24 '17 at 19:25

# V, 2 bytes

iV


Try it online!

Citing Arnauld, with Levenshtein distance of 1:

I now have 15 seconds of experience in V programming. So, this may actually be golfable.

• 2 bytes. :P – totallyhuman Dec 17 '17 at 15:32
• @totallyhuman It's indeed golfable. – user202729 Dec 17 '17 at 15:33
• Well, right language for the job! :) – DJMcMayhem Dec 18 '17 at 18:38

h>>h


Applied on two lists, (>>) concatenates the second list with itself as often as the first list has elements.

id=<<(>>)$"Haskell"  Try it online! (id=<<) is the same as join, but without the need for import Control.Monad. • I think you will need to count the putStr as well, or at least the s= that creates the nullary function. – Bergi Dec 19 '17 at 6:10 • @Bergi It is not needed according to the current Meta consensus on this topic, though I'd also be happy to change my answer if you have a good argument in favour of requiring a leading s=. – Laikoni Dec 19 '17 at 6:57 • Ah, I already understood the "function" in program or function as a function declaration statement, not a function value expression. – Bergi Dec 19 '17 at 7:04 # J, 7 bytes I now have 15 seconds of experience in J programming. So, this may actually be golfable(1). echo'J'  Try it online! (1) Edit: And of course it was. Thanks to @ConorO'Brien for saving 2 bytes! Using a verb: ## 5 bytes 'J'"_  • Your answer became the one with most citations... – user202729 Dec 17 '17 at 15:25 • @user202729 Is there a hat for that? – Arnauld Dec 17 '17 at 15:30 • You could also make this a verb (function) (5 bytes): 'J'"_. The rank conjunction ", when it has a left-arg as a noun, it makes that noun into a constant verb returning that noun. – Conor O'Brien Dec 17 '17 at 19:02 # 4, 11 bytes 3.600525004  Explanation: 3. Required prefix for all 4 programs. 6 Set 00 The cell at index 0 52 To 52 (ASCII value for '4'). 5 Print 00 The cell at index 0. 4 Required suffix for all 4 programs.  Try it online! • I was just going to write that... – user202729 Dec 17 '17 at 15:37 # Operation Flashpoint scripting language, 64 bytes f={s="%1%1%1%1";format[s+"%1",format[s,"Operation Flashpoint"]]}  Since there is no official name for the scripting language, I'm using Operation Flashpoint as the name of the language. Call with: hint call f  Output: # R, 8 bytes cat("R")  Try it online! • I think this can be done in 7 bytes, just "R" but called with source(<program name>,ec=T) – Giuseppe Dec 17 '17 at 16:33 • With the ec=T being like a compiler flag for +4 bytes – Giuseppe Dec 17 '17 at 16:33 • @Giuseppe I think using RGui, RStudio, or anything else with a REPL, you can just do "R". I don't know if that counts. – KSmarts Dec 17 '17 at 19:14 • @KSmarts outputs [1] "R" for me... – NieDzejkob Dec 17 '17 at 19:19 • @KSmarts meta post – Giuseppe Dec 17 '17 at 21:33 # C, 12 bytes f(x){x="C";}  Try it online! (GCC) Saved 3 bytes with help from user202729. C has been chosen strategically, but this is pretty much GCC-specific. • How can this function be used in a program? – anatolyg Dec 17 '17 at 21:35 • @anatolyg See the tio link. – Mr. Xcoder Dec 17 '17 at 21:36 • Can't say that's fair considering it requires other code to actually run. – Galen Nare Dec 18 '17 at 3:05 • @GalenNare Typically on this site, we allow function submissions. This is just a function. – Conor O'Brien Dec 18 '17 at 3:48 • Lovely way to generate lots of warnings though :) – user1997744 Dec 19 '17 at 20:28 # Verbosity, 458 454 bytes Include<Integer> Include<MetaFunctions> Include<Output> Include<String> Integer:DefineVariable<o; 1> Output:DefineVariable<P; 0> String:DefineVariable<s; "VerbosityVerbosityVerbosityVerbosityVerbosityVerbosityVerbosityVerbosityVerbosity"> String:DefineVariable<q; String:RemoveCharactersFromStart<s; o>> String:DefineVariable<r; String:TakeFirstCharacters<q; o>> Output:DisplayAsText<P; r> DefineMain<> [ MetaFunctions:ExecuteScript<MetaFunctions@FILE> ]  Try it online! Saved 4 bytes thanks to NieDzejkob! You know your language is verbose when it's shorter to create an 81 character long string that it is to multiply a 9 character long string by 9. # M, 2 bytes ”M  Single-letter languages have a clear advantage. Try it online! ## Retina, 12 bytes  Retina .$_


Try it online!

### Explanation


Retina


Initialise the string to Retina.

.
\$_


Replace each character with the full string.

# ///, 17 bytes

/i/\\\//iiiiiiiii


Try it online!

(this prints /////////)

Naive solution is (only) 1 byte longer.

\/\/\/\/\/\/\/\/\/


Trying to remove the duplicated is actually increases byte count.

/#/iii//i/\\\//###


# Chef, 268 bytes

C.

Ingredients.
102 l f
101 l e
104 l h
67 l c
4 g i

Method.
Put f into the mixing bowl.
Put e into the mixing bowl.
Put h into the mixing bowl.
Put c into the mixing bowl.
V the i.
Pour contents of the mixing bowl into the baking dish.
V the i until ved.

Serves 1.


Try it online!

### More idiomatic (565 bytes):

PPCG Holiday Punch.

Ingredients.
408 ml apple cider
404 ml ginger beer
416 ml champagne
67 ml unsweetened cranberry juice
4 pinches mixed spice

Method.
Put apple cider into the mixing bowl.
Divide mixed spice into the mixing bowl.
Put ginger beer into the mixing bowl.
Divide mixed spice into the mixing bowl.
Put champagne into the mixing bowl.
Divide mixed spice into the mixing bowl.
Put unsweetened cranberry juice into the mixing bowl.
Sift the mixed spice.
Pour contents of the mixing bowl into the baking dish.
Sift the mixed spice until sifted.

Serves 5.


Try it online!

• Now that is a neat language. – Adrian Zhang Dec 17 '17 at 21:40

# ArnoldC, 107 bytes

IT'S SHOWTIME
TALK TO THE HAND "ArnoldCArnoldCArnoldCArnoldCArnoldCArnoldCArnoldC"
YOU HAVE BEEN TERMINATED


Try it online!

# Python 3, 17 bytes

print("Python"*6)


Try it online!

Of course, Python 2 is 2 bytes shorter with

print"Python"*6


Try it online!

But I prefer Python 3

• You know you could have used Python 2... – Mr. Xcoder Dec 17 '17 at 14:53
• @Mr.Xcoder Edited in, but I prefer Python 3 – caird coinheringaahing Dec 17 '17 at 14:56
• Everybody does, but Python 2 is almost always golfier. :P – totallyhuman Dec 17 '17 at 15:10
• @totallyhuman s/almost/almost\{when manipulating sets and lists}/ :P – Mr. Xcoder Dec 17 '17 at 15:12
• @Mr.Xcoder You missed a terminating /? – user202729 Dec 17 '17 at 15:17

# 7, 3 bytes

31317403


Try it online!

Format similar to Hello World program, except output mode is 3 (Byte-per-three-commands). The three commands 131 encodes value 131 base 6 = 37 base 16 = character 7. Then 3 prints the character.

# ><>,  23 19 15 13  12 bytes

"><>" |o<.0l


Try it online!

Emigna saved 4 bytes. Not a tree saved another 3. Teal pelican managed to save 1 more byte. Thanks to all who have helped golfing! Citing Arnauld, with slight modifications: I now have 15 seconds of experience in ><> programming. So, this may actually be golfable.

• "><>><>><>"oa0. – Emigna Dec 17 '17 at 15:18
• 13 bytes: "><>"|o<"><>" – Not a tree Dec 17 '17 at 18:59
• After having a play around using both Emigna and Notatree's changes and mixing both you can reduce this a further 1 byte: "><>" |o<.0l – Teal pelican Dec 18 '17 at 15:23
• @Tealpelican: That is ingenious! – Emigna Dec 21 '17 at 14:48
• @Tealpelican Thank you! – Mr. Xcoder Dec 21 '17 at 14:50

# Whispers, 36 bytes

> "Whispers"
> 8
>> 1×2
>> Output 3


Try it online!

# ,,,, 6 bytes

',9i×


Try it online!

Hehe...

# Commentator, 316 bytes

           {-     {-    -}!  {-{- e#-}//{-#-}-}! {-
;{-
{-   -}!!  -}////{-#{-#-}    {-     -}!-}//-}//e#   e#-}//     -}//-}//{-e#                   e#-}-}//e#      e#-}//-}//-}//-}//e#         e#{-e# e#{-e# e#{-e#         e#-}-}-}-}-}
;{-/*{-/*{-/*{-/*{-/*{-/*{-/*{-/*{-/*{-/*{-/*-}-}-}-}-}-}-}-}-}-}-}


Try it online!

Not quite as long as my Verbosity answer, but getting there

# Starry, 146 bytes

        + +*        + +  * +  *       +* .                + +  * +          + * + .       + * +          + +* +  *        + * . . . .      + * +'


Try it online!

It looks prettier with decoration, though (180 bytes):

        + +*
+ + /| * +  *       +
* .| \__
+ \__/+  * +__
+ * + . /  \
+ * +      ========
+ +* +  *  \__/
+ * . . . .      +
* +'


Try it online!

## MSM, 9 bytes

..;;..MSM


Stack trace:

. . ; ; . . M S M             -- concat
. ; ; . . M MS              -- concat
; ; . . MSM               -- dup
; . . MSM MSM           -- dup
. . MSM MSM MSM       -- concat
. MSM MSMMSM        -- concat
MSMMSMMSM


# D, 20 bytes

auto f(){return"D";}


Try it online!

• One letter language names for the win. – Zacharý Dec 17 '17 at 16:08

# I, 3 bytes

"I"


Try it online!

• Haha I got ninja'd – Giuseppe Dec 17 '17 at 16:28

# Aceto, 16 bytes

o"pp
tkpp
ecp
"A


Try it online!

# Funky, 16 bytes

print("Funky"*5)


Try it online!

# Japt, 8 7 bytes

4ç"Japt


Try it

# K, 9 bytes

\echo "K"


Try it online!

# Emoji, 33 bytes

💬Emoji💬💬6💬📥👪➡


Abuses the type system. A lot. May not work on other interpreters than the Python one. It probably won't.

Try it online!

# sed, 10 bytes

isedsedsed


I hope two trailing newlines are OK :P

Try it online!

# itflabtijtslwi, 31 bytes

/I/itflabtijtslwi//J/IIIIIII/JJ


Try it online!