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

• Tasks that depend on a language's name are a form of disadvantaging some languages by arbitrary criteria. Dec 17, 2017 at 15:08
• I think this challenge would have been a lot more interesting if the repetition count was supposed to be our bytecount... Dec 17, 2017 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. Dec 17, 2017 at 21:06
• @DonielF is that shortest though? Dec 18, 2017 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"? Dec 24, 2017 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 Dec 17, 2017 at 15:32
• @totallyhuman It's indeed golfable. Dec 17, 2017 at 15:33
• Well, right language for the job! :) Dec 18, 2017 at 18:38

h>>h


Try it online!

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. Dec 19, 2017 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=. Dec 19, 2017 at 6:57 • Ah, I already understood the "function" in program or function as a function declaration statement, not a function value expression. Dec 19, 2017 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... Dec 17, 2017 at 15:25 • @user202729 Is there a hat for that? Dec 17, 2017 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. Dec 17, 2017 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... Dec 17, 2017 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) Dec 17, 2017 at 16:33 • With the ec=T being like a compiler flag for +4 bytes Dec 17, 2017 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. Dec 17, 2017 at 19:14 • @KSmarts outputs [1] "R" for me... Dec 17, 2017 at 19:19 • @KSmarts meta post Dec 17, 2017 at 21:33 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/\\\//###


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? Dec 17, 2017 at 21:35
• @anatolyg See the tio link. Dec 17, 2017 at 21:36
• Can't say that's fair considering it requires other code to actually run. Dec 18, 2017 at 3:05
• @GalenNare Typically on this site, we allow function submissions. This is just a function. Dec 18, 2017 at 3:48
• Lovely way to generate lots of warnings though :) Dec 19, 2017 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.

• 454 bytes Dec 17, 2017 at 15:43
• @NieDzejkob Nice! That's quite clever! Dec 17, 2017 at 15:57

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. Dec 17, 2017 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... Dec 17, 2017 at 14:53
• @Mr.Xcoder Edited in, but I prefer Python 3 Dec 17, 2017 at 14:56
• Everybody does, but Python 2 is almost always golfier. :P Dec 17, 2017 at 15:10
• @totallyhuman s/almost/almost\{when manipulating sets and lists}/ :P Dec 17, 2017 at 15:12
• @Mr.Xcoder You missed a terminating /? Dec 17, 2017 at 15:17

Whispers, 36 bytes

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


Try it online!

,,,, 6 bytes

',9i×


Try it online!

Hehe...

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.

Starry, 146 bytes

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


Try it online!

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

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


Try it online!

><>,  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. Dec 17, 2017 at 15:18
• 13 bytes: "><>"|o<"><>" Dec 17, 2017 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 Dec 18, 2017 at 15:23
• @Tealpelican: That is ingenious! Dec 21, 2017 at 14:48
• @Tealpelican Thank you! Dec 21, 2017 at 14:50

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

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. Dec 17, 2017 at 16:08

I, 3 bytes

"I"


Try it online!

• Haha I got ninja'd Dec 17, 2017 at 16:28

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!

Aceto, 16 bytes

o"pp
tkpp
ecp
"A


Try it online!

Funky, 16 bytes

print("Funky"*5)


Try it online!

05AB1E, 9 bytes

•äƵí•h6×R


Try it online!

0xE1BA50, encoded in base 255, decoded into hexadecimal, repeated 6 times, reversed.

Japt, 8 7 bytes

4ç"Japt


Try it

K, 9 bytes

\echo "K"


Try it online!

sed, 10 bytes

isedsedsed


I hope two trailing newlines are OK :P

Try it online!