7
Leave a Reply

avatar
7 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
0 Comment authors
LogiemanSV-97ThundrHawk001EatBonesShitGhostsshelvac2 Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
cp-30
Guest
cp-30

Meanwhile python:

Print(100 * ”Name/n”)

lovethebacon
Guest
lovethebacon

class Snoo {
void p(String s) {System.out.println(a);}
void a(String b) {
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
p(b);
}
public static void main(String a[]) {
a(“lovethebacon”);
}
}

shelvac2
Guest
shelvac2

[The whole thing is a gem](https://www.quora.com/How-do-I-print-my-name-1000-times-in-Java-without-looping). There’s an answer wiki with a giant list, my favorite of which is:

> Different solutions have been proposed:
>
> * …
> * Semantics: Understanding the task as needing to print “my name 1000 times in Java without looping”

EatBonesShitGhosts
Guest
EatBonesShitGhosts

Call me crazy but his solution might actually be way more efficient than a naive for loop if the problem was to _build_ a string rather than print the name 1000x (in which case it’s an atrocious answer).

ThundrHawk001
Guest
ThundrHawk001

Nother way could be to create a string array of length 1000, use fillAll(name), then use a stringbuilder, but that also probably uses an internal loop

SV-97
Guest
SV-97

Hope I don’t mess this up:

printi :: Integer -> String -> IO()
printi 0 _ = return ()
printi n s = do
putStrLn s
printi (n-1) s

main = printi 1000 “Name”

Edit, actually:

main = map (/_ -> putStrLn “Name”) [0..999]

Logieman
Guest
Logieman

int count = 0;

void x(){
if (count < 1000) {
System.out.println(name);
count++;
y();
} else {
System.exit(0)
}
}

void y(){
x();
}