|
Hahah... Sasha & Digweed in Computer Programming Journal !
|
View this Thread in Original format
| Durafei |
Hahha.. I was just reading an article about C# (Microsoft's alternative to Java) and look what I found:
C# Article
Here is specifically what I refer to:
import java.util.*;
class Iterate {
public static void main(String[] args) {
// Enumerate command-line args array
for(int i = 0; i < args.length; ++i)
System.out.println(args[i]);
// Create a linked list
LinkedList list = new LinkedList();
list.add("Cube Farm");
list.add("Sasha & Digweed");
// Enumerate the list
ListIterator it = list.listIterator(0);
while (it.hasNext())
System.out.println(it.next());
}
} |
|
|
| UglyDave |
code:
if(C# == C++){
Durafei.replyToUglyDaveAndTellHim("Yes UglyDave - It Is!");
}else{
Durafei.replyToUglyDaveAndTellHim("No UglyDave - It's not!");
}
|
|
|
| sash |
10 print "you are gay"
20 beep
30 goto 10 |
|
|
| DJ Nuclear |
| quote: | Originally posted by UglyDave
code:
if(C# == C++){
Durafei.replyToUglyDaveAndTellHim("Yes UglyDave - It Is!");
}else{
Durafei.replyToUglyDaveAndTellHim("No UglyDave - It's not!");
}
|
No UglyDave - It's not! |
|
|
| mezzir |
alternate to java?
man, that is java :p |
|
|
| Tranc3 |
| quote: | Originally posted by mezzir
alternate to java?
man, that is java :p |
ROFL it IS Java, I just noticed it too:haha: |
|
|
| Ortemy |
Segmentation fault!
EDIT: Or i should rather say java.lang.Exception.NullPOinterException.
:haha: |
|
|
| charmscars |
| quote: | Originally posted by Durafei
Hahha.. I was just reading an article about C# (Microsoft's alternative to Java) and look what I found:
C# Article
Here is specifically what I refer to:
import java.util.*;
class Iterate {
public static void main(String[] args) {
// Enumerate command-line args array
for(int i = 0; i < args.length; ++i)
System.out.println(args[i]);
// Create a linked list
LinkedList list = new LinkedList();
list.add("Cube Farm");
list.add("Sasha & Digweed");
// Enumerate the list
ListIterator it = list.listIterator(0);
while (it.hasNext())
System.out.println(it.next());
}
} |
hahahaha. i want to include this as a link in the 'dilemna" thread on tota:D |
|
|
| Durafei |
| quote: | Originally posted by charmscars
hahahaha. i want to include this as a link in the 'dilemna" thread on tota:D |
LOL - sure, show that that even Computer Magazines prefer Digweed & Sasha :)
BTW, this is a Java source code. In the article they are comparing C# to Java, and giving examples of equivalent programs in both languages. This particular example happened to be in Java. |
|
|
| whiskers |
(define (stupidity subject) (- subject intellect))
(define (geekiness subject) (+ (- subject social_life) replying_in_code))
um, what the am i doing? |
|
|
|
|