TranceAddict Forums

TranceAddict Forums (www.tranceaddict.com/forums)
- Chill Out Room
-- Hahah... Sasha & Digweed in Computer Programming Journal !


Posted by Durafei on Feb-16-2004 22:20:

Hahah... Sasha & Digweed in Computer Programming Journal !

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());
}
}


Posted by UglyDave on Feb-16-2004 22:59:

code:
if(C# == C++){ Durafei.replyToUglyDaveAndTellHim("Yes UglyDave - It Is!"); }else{ Durafei.replyToUglyDaveAndTellHim("No UglyDave - It's not!"); }


Posted by sash on Feb-16-2004 23:04:

10 print "you are gay"
20 beep
30 goto 10


Posted by Fast Turtle on Feb-16-2004 23:05:

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!


Posted by jinxed84 on Feb-17-2004 01:07:

42


Posted by SuperFarStucker on Feb-17-2004 05:02:

The answer to life, the universe and everything


Posted by mezzir on Feb-17-2004 05:50:

alternate to java?
fuck man, that is java


Posted by Tranc3 on Feb-17-2004 06:37:

quote:
Originally posted by mezzir
alternate to java?
fuck man, that is java


ROFL it IS Java, I just noticed it too


Posted by Ortemy on Feb-17-2004 07:00:

Segmentation fault!
EDIT: Or i should rather say java.lang.Exception.NullPOinterException.


Posted by charmscars on Feb-17-2004 15:45:

Re: Hahah... Sasha & Digweed in Computer Programming Journal !

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


Posted by Durafei on Feb-17-2004 16:01:

Re: Re: Hahah... Sasha & Digweed in Computer Programming Journal !

quote:
Originally posted by charmscars
hahahaha. i want to include this as a link in the 'dilemna" thread on tota



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.


Posted by whiskers on Feb-17-2004 17:24:

(define (stupidity subject) (- subject intellect))
(define (geekiness subject) (+ (- subject social_life) replying_in_code))



um, what the fuck am i doing?


Posted by Mr Game+Watch on Feb-17-2004 18:18:

Haha, Dr. Dobb's Journal (where the article came from) is actually one of the most respected development magazines in the world of computer programming. I also liked the XML serializing of the Xpander EP (examples 2 and 3). Very cool, great find dude. Plus, the article was pretty informative as well.


Posted by UglyDave on Feb-18-2004 00:06:

quote:
Originally posted by whiskers
(define (stupidity subject) (- subject intellect))
(define (geekiness subject) (+ (- subject social_life) replying_in_code))



um, what the fuck am i doing?


looks like CLIPS (C Language Integrated Productions Systems)

and it's ugly as fuck!
get it away!


Posted by Mr Game+Watch on Feb-18-2004 14:40:

Hmm, that looks like LISP or SCHEME, one of those annoying parenthesis heavy functional languages that I always did so bad on in school because I'd always forget my parenthesies :P


Posted by Durafei on Feb-18-2004 14:47:

quote:
Originally posted by Mr Game+Watch
Hmm, that looks like LISP or SCHEME, one of those annoying parenthesis heavy functional languages that I always did so bad on in school because I'd always forget my parenthesies :P


haha.. Nice to know I wasn't the only one learning Scheme at university.



Powered by: vBulletin
Copyright © 2000-2021, Jelsoft Enterprises Ltd.