Comic JK 357
When I Feel Like It
⇤
 
<
 
?
 
>
 
⇥
⇤
 
<
 
?
 
>
 
⇥
Forum
.
RSS
.
Digg
.
Facebook
.
Reddit
.
Twitter
.
Stumbleupon
Enter your thoughts on number 357 here. Please, no spamming, trolling, or phreaking. #projectspammy[dawt]spamhost18[dawt]com/spamfiles/spammy-spam-spam-spammy.zip & var 0 ! loop $ top % top + var 1 (var < 10 )^loop I can show ya my private static member, alrite lol, yay, a programming comic I don't need google to understand. This is a rarity. Maybe when I learn java this year at uni, this will make sense. >Java sucks. You might as well be learning COBOL *shudder*... >>Writing Java code can be rather pleasent, as long as you're not thinking in Java. >>>Well, at least he didn't go for the ruby object over there--she's so private, her "Public" members are all methods...so they can't even tell if they're real. (Of course, a little monkeypatching to add attr_accessors ought to do it...) IDENTIFICATION DIVISION. PROGRAM-ID. HELLO-JK-WORLD. PROCEDURE DIVISION. DISPLAY 'You have something against COBOL ? :( '. STOP RUN. >print("Colbol's a little verbose, that's all") >>out.println("never heard of cobol"); >>p "yup" >>public class Foo {public static void main(String[] args) {System.out.println("What about Java?");}} >>>cout << "Even c++ wins in that regard.n"; >>>>my cpp knowledge is rather limited, but something tells me you actually need a void main or something around that... >>>>>Indeed. Actually, #include <iostream> int main () { cout << "Hello, World!"; return 0; } >>>>>>You'd also need using namespace std; >>>>>>to use cout by itself like that. Without the using statement, it would be std::cout<< blah; Is the minimum. Well, maybe it'd work without the return - it just feels *wrong*, though. >>>>>>> : /* * WYCIWYG * * @author me */ import static java.lang.system.*; public class Comment{ static{ out.println("Instance blocks FTW!"); System.exit(0); // main() methods are for n00bs! } } i love my comp sci class. -byi //any brainf**k jokes? my comp sci class is amazing. and brainf**k would work well with this comic... rt