Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Homework

Name: Anonymous 2009-03-18 18:48

Print "SUSSMAN" 300 times (each on a new line) to the output device using Java.

Name: Anonymous 2009-03-18 21:34

>>35
you're post made me go "ha!"

Name: Anonymous 2009-03-18 21:36


package org.fourchan.text.prog;

public interface IPrintSussman {
   void printSussman(int numTimes);
}

Name: Anonymous 2009-03-18 21:39

>>40
i think >>38 was pointing out how broken your program in >>36 is.

Name: Anonymous 2009-03-18 21:43

>>43
How so? The requirements were as follows:
>Print "SUSSMAN" 300 times (each on a new line) to the output device using Java.
>>36 meets all requirements

Name: Anonymous 2009-03-18 21:44

>>43
How so? The requirements were as follows:
Print "SUSSMAN" 300 times (each on a new line) to the output device using Java.
>>36 meets all requirements

Name: Anonymous 2009-03-18 21:45

>>45
it produces incorrect output if you don't pass the string "SUSSMAN" as the first parameter on the command line.

Name: Anonymous 2009-03-18 22:02

>>46
All program outputs depend on the environment in which they are run, this is no different.

Name: Anonymous 2009-03-18 22:06

>>47
if the program depends on anything other than the environment being a standard implementation of java, it's broken.

Name: Anonymous 2009-03-18 22:15

"agnarsson" < main
{
    main ->
        stef(;)
        staðvær i
        stofn
            fyrir (i:=0; i<300; i:=i+1) lyykja
                skrifastreng(;"AGNARSSON"),
            lykkjulok,
        stofnlok
}
*
"GRUNNUR"
;

Name: Anonymous 2009-03-18 22:17

s/lyykja/lykkja/, obviously. Sorry.

Name: Anonymous 2009-03-18 22:20

s/skrifastreng/skrifalínu/, too.

Name: Anonymous 2009-03-19 0:40

(display "\"SUSSMAN\" 300 times (each on a new line) to the output device using Java.")
(newline)

Name: Anonymous 2009-03-19 1:34

>>49
Is there a Fjolnir compiler available for lunix?

Name: Anonymous 2009-03-19 1:50

>>53
Not yet!

Name: Anonymous 2009-03-19 2:21

>>19
(dotimes [_ 300] (println "Sussman"))

And unlike you, I'm actually using Java.

Name: FrozenVoid 2009-03-19 2:36

function p_str(str,t){for(var i=0;i<t;i++){document.write(str+'\n')}}
p_str('SUSSMAN',300);

Name: CLOJURE FAN 2009-03-19 2:59

>>56
(defn multiprint [str n] (dotimes [_ n] (println str)))
(multiprint "SUSSMAN" 300)

Name: Anonymous 2009-03-19 3:08

var i=300;while(i--)document.write('SUSSMAN\n');

Name: Anonymous 2009-03-19 3:13

for(i=300;i--;)document.write("SUSSMAN\n");

Name: Anonymous 2009-03-19 7:56

def satori
  []
end

$hybt = satori()

def yhbt?
  true unless $hybt.join != ("yhbt")
end

def method_missing(abelson,*harold)
  $hybt << abelson.to_s[0,1]
  satori = satori()
  if yhbt?
    %w{Gerald Jay Sussman SICP}.each_with_index{|snake, grunnur| satori[grunnur] = snake.length; @gjs = snake.upcase if grunnur == 2}
    ((satori[0]+satori[3])*(satori[1]+satori[2])*satori[1]).times{puts @gjs}
  end
end

have you read your poignant guide to ruby today? bacon how yummy?

Name: Anonymous 2009-03-19 10:53

>>55
Using the JVM isn't the same thing as using Java. Any language can be compiled to JVM bytecode.

Name: Anonymous 2009-03-19 13:04

>>61
I don't think you understand what any means.

Name: Anonymous 2009-03-19 17:59

>>61
Pop quiz: when you compile something into JVM bytecode, what command do you execute in order to run it?

That's right, java!

Name: Anonymous 2009-03-19 19:05

>>61
Using the JVM isn't the same thing as using Java
Using the JVM
JVM
Java Virtual Machine

Name: Anonymous 2009-03-19 19:10

>>63
>>64
The real issue at stake here is that "Java" refers to so many things: The virtual machine, the pig disgusting language, the API, the "platform" (applets and all that shit)...

So when >>1 said "Java," did he mean Java, Java, Java, Java, Java, Java, Java, Java, Java, Java, Java, Java, Java, Java, Java, Java, Java, or Java?

Name: Anonymous 2009-03-19 20:09

>>65
I think he meant JAVATM, A Future Product brought to you by IBM®

Name: Anonymous 2009-03-19 22:31

>>60
ihbt

Name: Anonymous 2009-03-19 23:11

>>39
This is why I'm HOT

Name: Anonymous 2009-03-21 0:43

4:20 HOMEY

Marijuana MUST be legalized.

BBCode MASTERS smoke WEED!

Name: Anonymous 2009-03-21 8:18

>>60
CHUNKY BACON
LOL SO RANDOM XD

Name: Anonymous 2009-03-21 8:50

>>70
Poignant?

Name: Anonymous 2009-03-21 9:28

(def java (for [i (range 1 300)] (do (println "SUSSMAN\n") i)))
(dorun java)

Name: Anonymous 2010-12-10 7:31

<

Name: Anonymous 2013-01-18 23:37

/prog/ will be spammed continuously until further notice. we apologize for any inconvenience this may cause.

Name: Anonymous 2013-01-18 23:47

Now in D:

foreach(i; 0..300)
{
    writeln("SUSSMAN");
}

Name: Anonymous 2013-01-18 23:47

D PROGRAMMING LANGUAGE

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List