|
|
 |
01-11-2005, 04:43 PM
|
#1
|
|
Definately, Maybe
Join Date: Dec 2001
Location: Eh, Wherever
Posts: 2,379
|
Let's Discuss... Java
My new programming class I started today is supposed to teach us basics of Java. The teacher suggests using some program called NetBeans to write our programs in. So tell me loyal nerds, good program? bad program? Got any better suggestions? Also Java fun? Java suck? Java and C++ rules so similar that my mind will unthinkingly blend them together and I'll never be able to write in either again?
Talk amongst yourselves.
Just because people think what I say don't make sense, doesn't mean I don't like popsicles.
|
|
you may:
quote & reply,
|
01-11-2005, 04:45 PM
|
#2
|
|
Junior Member
Join Date: Feb 2004
Location: New York
Posts: 479
|
I start learning Java in 2 weeks. Then I'll have something to talk about  .
Cellar door
|
|
you may:
quote & reply,
|
01-11-2005, 05:12 PM
|
#3
|
|
Close to the Edge
Join Date: Mar 2001
Location: Boston, MA., USA
Posts: 8,961
Current Game: DiRT 3; Forza 4
|
I prefer Tea, thank you.
Oh wait... geek stuff. Nevermind then. Count me out.
Native XWA.Netter (Nutter?)
|
|
you may:
quote & reply,
|
01-11-2005, 10:01 PM
|
#4
|
|
[armleglegarmhead]
Join Date: Jun 2003
Location: digital
Posts: 8,125
|
Oh, Geek stuff? Count McCoy in. 
I always thought Java was an island like Dinky or so. But that was aaages ago.
Since i now switched to linux, i think i'll soon have more contact with C or something like that than i wish. Except there some kind of Delphi or pascal for linux. On the other hand, most sources are in C, so, in the end i guess it is like you can code or you can't. Can you?
|
|
you may:
quote & reply,
|
01-11-2005, 10:40 PM
|
#5
|
|
Senior Member
Join Date: Sep 2003
Location: Braunschweig, Germany
Posts: 1,452
Current Game: nethack
|
Quote:
Originally posted by RayJones
Oh, Geek stuff? Count McCoy in. 
|
...you bet...
Quote:
Originally posted by RayJones
Since i now switched to linux
|
...a wise decision!
Quote:
Originally posted by RayJones
Except there some kind of Delphi or pascal for linux.
|
...well, there is (was?) kylix (but it's commercial)...
...
...and there's the fpc (free pascal compiler)...
...
and now to the topic:
...java sucks (err, imho)... ditto with perl and lisp... 
i like c and c++ (what i use depends on what's needed... if i can do something without classes, i use c...)
if(!strcmp(nick, "DrMcCoy") && !strcmp(avatar, "Spock")) return E_INSANE;
|
|
you may:
quote & reply,
|
01-11-2005, 10:48 PM
|
#6
|
|
[armleglegarmhead]
Join Date: Jun 2003
Location: digital
Posts: 8,125
|
And if I can do something without hands I use girls. 
|
|
you may:
quote & reply,
|
01-11-2005, 11:57 PM
|
#7
|
|
Senior Member
Join Date: Sep 2003
Location: Braunschweig, Germany
Posts: 1,452
Current Game: nethack
|
Quote:
Originally posted by RayJones
And if I can do something without hands I use girls.
|
errr, come again?
if(!strcmp(nick, "DrMcCoy") && !strcmp(avatar, "Spock")) return E_INSANE;
|
|
you may:
quote & reply,
|
01-12-2005, 12:59 AM
|
#8
|
|
'll take away your bucket
Join Date: Dec 2001
Location: the black
Posts: 2,037
|
Don't use Jawas, they'll only steal you stuff. Haw, haw, haw!
Java versus C++
Java versus C
I'll have 2 weeks off starting next week. I plan (like I always do) to get around to really, really do something in C(++). Besides tutorials.
I also plan to watch DVDs (LOTR:ROTK, π, Idle Hands, Final Destination, Star Wars 5+6, Top Secret!, Nick Of Time, The 'burbs...) and play games (finish Beyond Good & Evil, KOTOR, Armed & Dangerous...).
All this in 2 weeks... you get the picture.
Last edited by Alien426; 01-12-2005 at 04:25 AM.
|
|
you may:
quote & reply,
|
01-12-2005, 04:21 AM
|
#9
|
|
Senior Member
Join Date: Sep 2003
Location: Braunschweig, Germany
Posts: 1,452
Current Game: nethack
|
Quote:
|
Java is more powerful and can do much more than C. For example, C doesn't have a graphical user interface (GUI)
|
...that's what libs are for... gtk, qt, wxwidgets, ...
Quote:
|
C doesn't have any way to do object-oriented programming (OOP)
|
c++
Quote:
|
C lets you do many things that would cause errors (for example, convert strings to integers, or do I/O)
|
strtol()/atoi()? where's there problem?
Quote:
|
but doesn't make you write code to handle the errors.
|
...the gcc throws a lot of warnings in -Wall -pedant mode if you do wrong/bad things...
Quote:
|
Java makes you write try...catch statements around things that might cause problems.
|
...imho, try...catch is dirty...
Quote:
|
Java checks for errors. For example, Java checks subscripts to make sure they are in the correct range.
|
...so does the gcc... big deal...
Quote:
|
Java does things for you. There are a huge number of things that Java has already written for you. For example, expandable arrays, many data structures, etc. In C it would take a very long time to write and debug these things by yourself.
|
...blah...
Quote:
|
Java doesn't have the most dangerous things. The things in C which cause the most program errors are pointers, pointer arithmetic, and memory management. Java has replaced these with much, much safer things: references, subscription, and garbage collection.
|
...i need pointers...
...and i rather write safe code myself than to rely on the jave interpreter...
...and garbage collection is dirty...
. . .
...just my 2 cents...
if(!strcmp(nick, "DrMcCoy") && !strcmp(avatar, "Spock")) return E_INSANE;
|
|
you may:
quote & reply,
|
01-21-2005, 04:45 AM
|
#10
|
|
The kinda
Join Date: Oct 2002
Location: a pool of vomit
Posts: 2,690
|
Hey, what do you know...I'm in programming class right now. We're only like 3 days in, but by June, I'll be able to talk about this stuff! Not like this topic will be around then...but...
Yeah. 
|
|
you may:
quote & reply,
|
01-21-2005, 04:49 AM
|
#11
|
|
Senior Member
Join Date: Sep 2003
Location: Braunschweig, Germany
Posts: 1,452
Current Game: nethack
|
...das: which language'll you do?
if(!strcmp(nick, "DrMcCoy") && !strcmp(avatar, "Spock")) return E_INSANE;
|
|
you may:
quote & reply,
|
01-21-2005, 04:52 AM
|
#12
|
|
The kinda
Join Date: Oct 2002
Location: a pool of vomit
Posts: 2,690
|
What do you mean which language? I wouldn't say that I would know this if I wasn't doing Java...
We're doing C++ in the first quarter of the semester and Java in the second quarter. 
|
|
you may:
quote & reply,
|
01-21-2005, 04:59 AM
|
#13
|
|
Senior Member
Join Date: Sep 2003
Location: Braunschweig, Germany
Posts: 1,452
Current Game: nethack
|
Quote:
Originally posted by Das Mole
We're doing C++ in the first quarter of the semester and Java in the second quarter.
|
...interesting... if you need help, i'm always here...
if(!strcmp(nick, "DrMcCoy") && !strcmp(avatar, "Spock")) return E_INSANE;
|
|
you may:
quote & reply,
|
01-21-2005, 05:23 PM
|
#14
|
|
Junior Member
Join Date: Feb 2004
Location: New York
Posts: 479
|
Quote:
Originally posted by Das Mole
What do you mean which language? I wouldn't say that I would know this if I wasn't doing Java...
We're doing C++ in the first quarter of the semester and Java in the second quarter.
|
 I'm taking the same class as you. I start Java in a week though. I already know C++.
Cellar door
|
|
you may:
quote & reply,
|
01-23-2005, 06:55 AM
|
#15
|
|
Definately, Maybe
Join Date: Dec 2001
Location: Eh, Wherever
Posts: 2,379
|
I took a sememster of VIsual Basic, 2 of C++ and now I'm in Java. And Usability Engineering, though that doesn't teach any new languages. So far my problem with Java is the teacher just gave us the names of a bunch of different IDEs to write in and never gave us details on how to run any of them. I've downloaded a couple and tried to use them, but with no starting point its rather hard. Other than that its not too bad. There are quite a few things from C++ that I find myself missing. Especially in how to make declarations.
Just because people think what I say don't make sense, doesn't mean I don't like popsicles.
|
|
you may:
quote & reply,
|
01-24-2005, 01:33 AM
|
#16
|
|
[armleglegarmhead]
Join Date: Jun 2003
Location: digital
Posts: 8,125
|
Quote:
Originally posted by DrMcCoy
...interesting... if you need help, i'm always here...
|
Let me guess, you sleep directly under the Reply-button.
|
|
you may:
quote & reply,
|
01-24-2005, 04:08 AM
|
#17
|
|
Senior Member
Join Date: Sep 2003
Location: Braunschweig, Germany
Posts: 1,452
Current Game: nethack
|
Quote:
Originally posted by RayJones
Let me guess, you sleep directly under the Reply-button.
|
 ...how do you know? stalker!
if(!strcmp(nick, "DrMcCoy") && !strcmp(avatar, "Spock")) return E_INSANE;
|
|
you may:
quote & reply,
|
01-24-2005, 04:58 AM
|
#18
|
|
[armleglegarmhead]
Join Date: Jun 2003
Location: digital
Posts: 8,125
|
I'm your neighbouououaououar from the "new Thread" button. You know,.. the place where you always dump all your garbage.
|
|
you may:
quote & reply,
|
01-24-2005, 05:12 AM
|
#19
|
|
Senior Member
Join Date: Sep 2003
Location: Braunschweig, Germany
Posts: 1,452
Current Game: nethack
|
Quote:
Originally posted by RayJones
the place where you always dump all your garbage.
|
...ah, that's why you stink so vile... 
if(!strcmp(nick, "DrMcCoy") && !strcmp(avatar, "Spock")) return E_INSANE;
|
|
you may:
quote & reply,
|
01-24-2005, 05:39 AM
|
#20
|
|
[armleglegarmhead]
Join Date: Jun 2003
Location: digital
Posts: 8,125
|
No, that is because i like to rub myself all over with Döner sauce all the time.
|
|
you may:
quote & reply,
|
01-24-2005, 06:22 AM
|
#21
|
|
Senior Member
Join Date: Sep 2003
Location: Braunschweig, Germany
Posts: 1,452
Current Game: nethack
|
Quote:
Originally posted by RayJones
No, that is because i like to rub myself all over with Döner sauce all the time.
|
...and that's exactly why i love you... *licks ray*
if(!strcmp(nick, "DrMcCoy") && !strcmp(avatar, "Spock")) return E_INSANE;
|
|
you may:
quote & reply,
|
01-24-2005, 08:49 AM
|
#22
|
|
Well past expiration date
Join Date: Jan 2004
Posts: 5,764
Current Game: Mass Effect
|
Quote:
Originally posted by DrMcCoy
...java sucks (err, imho ... ditto with perl)
|
A perl hater....
I'm not one for the strong, static type... 
|
|
you may:
quote & reply,
|
01-24-2005, 08:56 AM
|
#23
|
|
Senior Member
Join Date: Sep 2003
Location: Braunschweig, Germany
Posts: 1,452
Current Game: nethack
|
Quote:
Originally posted by tk102
A perl hater....
|
....hmm, it's not that i hate perl, i just don't like its approach on several things and i somehow don't really see its need... for complex projects, i use c or c++ (depends on whether i need classes) and for small things, i use bash-scripts (with stuff like test, sed, sometimes awk, ...)... but as i said, that's just my personal oppinion, feel free to think different  ...
*shrug*
if(!strcmp(nick, "DrMcCoy") && !strcmp(avatar, "Spock")) return E_INSANE;
|
|
you may:
quote & reply,
|
01-25-2005, 05:40 PM
|
#24
|
|
Definately, Maybe
Join Date: Dec 2001
Location: Eh, Wherever
Posts: 2,379
|
I've heard pearl is useful, but kinda a pain.
Just because people think what I say don't make sense, doesn't mean I don't like popsicles.
|
|
you may:
quote & reply,
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Forum Jump
|
|
|
|
|
|