Programmers and aspiring programmers: Poll: You are stranded on a desert island....

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

Spyro

Diamond Member
Dec 4, 2001
3,366
0
0
Originally posted by: BingBongWongFooey
Originally posted by: Spyro
Originally posted by: BingBongWongFooey
Originally posted by: Spyro
Why would anyone choose java.........

Java somehow got really big during the tech boom, I'm not really sure why.

I'm a java programmer myself, so from that standpoint I'd say that it was the whole "portability" aspect of the language when coupled with the ability to run on a web page that inflated it. Java is a pretty cool language, but I wouldn't want to be trapped on an island with it :).

Java isn't the only portable language. And it's a dog.

Actually, java is a beverage.......
 

calpha

Golden Member
Mar 7, 2001
1,287
0
0
I'm a java programmer myself, so from that standpoint I'd say that it was the whole "portability" aspect of the language when coupled with the ability to run on a web page that inflated it.

Yah, that whole "Write once run anywhere" never materialized. It's still there somewhat, but you do have to be aware of the platform you're targeting. I think java on the server side (JSP) is pretty sharp, but on the front end, it's crap. Most applets are dead anyway (unless you're a leecher looking for warez sites to leech from pub ftp's or something).

But for me......I'd say just plain ol C. As long as I could have a USB hookup with a reciever so I could get weather data from a satellite. Yah, I'd take C to hack the satellite signal so I could use it.

Hey, I'll be there a while. It's plausible I'd point my dish in the right direction (lol).
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
Originally posted by: calpha
I'm a java programmer myself, so from that standpoint I'd say that it was the whole "portability" aspect of the language when coupled with the ability to run on a web page that inflated it.

Yah, that whole "Write once run anywhere" never materialized. It's still there somewhat, but you do have to be aware of the platform you're targeting. I think java on the server side (JSP) is pretty sharp, but on the front end, it's crap. Most applets are dead anyway (unless you're a leecher looking for warez sites to leech from pub ftp's or something).

But for me......I'd say just plain ol C. As long as I could have a USB hookup with a reciever so I could get weather data from a satellite. Yah, I'd take C to hack the satellite signal so I could use it.

Hey, I'll be there a while. It's plausible I'd point my dish in the right direction (lol).

Get a quality usb->rs232 driver and be done with it. Integrating with radars/satellites/telescopes/gps/etc. are all pretty standardized, and simple if you are familiar with RS232...
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Yes, the portability of java isn't quite what people make it out to be. Does java even have any *truly* cross platform stuff for filepaths and whatnot? For example, if you just tell a program to look in C:\blah, that's not exactly gonna work well outside of windows. I have seen quite a few java apps which are written in java and yet are only for a certain os. I dunno, I'm no expert by any means, but I've always failed to see what's so hot about java (heh, no pun intended, honest).
 

Spyro

Diamond Member
Dec 4, 2001
3,366
0
0
Originally posted by: BingBongWongFooey
Yes, the portability of java isn't quite what people make it out to be. Does java even have any *truly* cross platform stuff for filepaths and whatnot? For example, if you just tell a program to look in C:\blah, that's not exactly gonna work well outside of windows. I have seen quite a few java apps which are written in java and yet are only for a certain os. I dunno, I'm no expert by any means, but I've always failed to see what's so hot about java (heh, no pun intended, honest).

Well, when you factor in the fact that most people will need to download a java plug-in or interpreter to use an application, Java really starts to lose its cross-platform claim, because, simply put, most people won't do that. Which means that besides simple java applets, Java is hardly more if not less "cross-platform" than python. However as a language, I think that Java's real claim to fame is its object orientation, which can be both a plus and a minus, but I usually think of my programs in terms of objects and java is as, IMHO, a real object oriented language. In other words, I like Java because its object oriented, "somewhat" crossplatform, and tastes good.

Disclaimer: I haven't done a lot of Java programming yet, I'm talking about client-side java, I've never really tasted java :p
 

Mucman

Diamond Member
Oct 10, 1999
7,246
1
0
I voted for C++

I've always "enjoyed" programming languages more than scripting languages. My second choice would probably
be Perl.
 

Quixfire

Diamond Member
Jul 31, 2001
6,892
0
0
Originally posted by: BingBongWongFooey
Originally posted by: Quixfire
How would a computer language help you on a desert island, would there even be a computer and the electricity to run it???

RTFM!
You edited it after my post. So clearly state your question before posting next time.

 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Originally posted by: Quixfire
Originally posted by: BingBongWongFooey
Originally posted by: Quixfire
How would a computer language help you on a desert island, would there even be a computer and the electricity to run it???

RTFM!
You edited it after my post.
Nope. (not the part in question anyways)

So clearly state your question before posting next time.
I was messing around, lighten up ;)
 

geoff2k

Golden Member
Sep 2, 2000
1,929
0
76
C/C++ -- I'd eventually want to write my own operating system, and I can't really see myself doing it in anything else...
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Originally posted by: geoff2k
C/C++ -- I'd eventually want to write my own operating system, and I can't really see myself doing it in anything else...

Damn, an rcs id in your sig, you're hardcore :p
 

Kilrsat

Golden Member
Jul 16, 2001
1,072
0
0
Originally posted by: BingBongWongFooey
Yes, the portability of java isn't quite what people make it out to be. Does java even have any *truly* cross platform stuff for filepaths and whatnot? For example, if you just tell a program to look in C:\blah, that's not exactly gonna work well outside of windows. I have seen quite a few java apps which are written in java and yet are only for a certain os. I dunno, I'm no expert by any means, but I've always failed to see what's so hot about java (heh, no pun intended, honest).


You get into things like: System.getProperty("user.dir"); System.getProperty("user.name"); System.getProperty("line.separator"); System.getProperty("file.separator");

There are a few others that I can't remember off the top of my head, but using these properties and some intelligent work with the file request, you can write a cross-platform application.

Right now I have a free-time killing project, written in completely in java that runs on Windows, Linux, Solaris, and OS X from only one group of source code. It plays mp3, ogg, wav, aiff, and au files, browses some basic web pages, keeps track of log files, stores user preferences, window positions, skins, blah blah... you get the point, its an advanced GUI (swing based) program that is indeed cross-platform. I only had to make a few adjustments for the Mac OS 9 version as Apple never released a java 2 compatible virtual machine so I had to rig a few things.

It is very possible to write a complex cross-platform java application, it just takes thought and planning.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Originally posted by: Kilrsat
Originally posted by: BingBongWongFooey
Yes, the portability of java isn't quite what people make it out to be. Does java even have any *truly* cross platform stuff for filepaths and whatnot? For example, if you just tell a program to look in C:\blah, that's not exactly gonna work well outside of windows. I have seen quite a few java apps which are written in java and yet are only for a certain os. I dunno, I'm no expert by any means, but I've always failed to see what's so hot about java (heh, no pun intended, honest).


You get into things like: System.getProperty("user.dir"); System.getProperty("user.name"); System.getProperty("line.separator"); System.getProperty("file.separator");

There are a few others that I can't remember off the top of my head, but using these properties and some intelligent work with the file request, you can write a cross-platform application.

Right now I have a free-time killing project, written in completely in java that runs on Windows, Linux, Solaris, and OS X from only one group of source code. It plays mp3, ogg, wav, aiff, and au files, browses some basic web pages, keeps track of log files, stores user preferences, window positions, skins, blah blah... you get the point, its an advanced GUI (swing based) program that is indeed cross-platform. I only had to make a few adjustments for the Mac OS 9 version as Apple never released a java 2 compatible virtual machine so I had to rig a few things.

It is very possible to write a complex cross-platform java application, it just takes thought and planning.

Ah, that's cool, python has that type of stuff too, os.path.seperator and whatnot.
 

Spyro

Diamond Member
Dec 4, 2001
3,366
0
0
Originally posted by: onelin0
wow, finally some non-negative talk about java! :Q

If this is the first of that you've seen, then you must not get around much.
 

onelin

Senior member
Dec 11, 2001
874
0
0
Originally posted by: Spyro
Originally posted by: onelin0
wow, finally some non-negative talk about java! :Q

If this is the first of that you've seen, then you must not get around much.

I'm referring to in this *thread*. A thread that's supposed to be about languages people *like* :)

I'm in no way dissing Java, on the contrary I was disappointed by all the words being flung around without anyone having really done much with it or citing anything other than 'it's slow'. Java, while not my favorite of all languages, is certainly not a bad one. I've used it and happen to like a lot of things...even if I'm currently infatuated with plain old C.


 

Kilrsat

Golden Member
Jul 16, 2001
1,072
0
0
Originally posted by: onelin0
Originally posted by: Spyro
Originally posted by: onelin0
wow, finally some non-negative talk about java! :Q

If this is the first of that you've seen, then you must not get around much.

I'm referring to in this *thread*. A thread that's supposed to be about languages people *like* :)

I'm in no way dissing Java, on the contrary I was disappointed by all the words being flung around without anyone having really done much with it or citing anything other than 'it's slow'. Java, while not my favorite of all languages, is certainly not a bad one. I've used it and happen to like a lot of things...even if I'm currently infatuated with plain old C.

Pick the tool that fits the job. I wouldn't go around attempting to write Quake3 in java, that's not playing towards its strengths. Need a quick and dirty small gui application for windows? VB is pretty much ideal. Need a large fully featured 3d application? C/C++ is your choice. Need a more advanced 2d app or need cross-platform? Java is a viable solution in those situations.

I can eat only with a knife, however, I choose to use a fork and spoon as well because it just makes things easier.
 

Spyro

Diamond Member
Dec 4, 2001
3,366
0
0
Originally posted by: Kilrsat
Originally posted by: onelin0
Originally posted by: Spyro
Originally posted by: onelin0
wow, finally some non-negative talk about java! :Q

If this is the first of that you've seen, then you must not get around much.

I'm referring to in this *thread*. A thread that's supposed to be about languages people *like* :)

I'm in no way dissing Java, on the contrary I was disappointed by all the words being flung around without anyone having really done much with it or citing anything other than 'it's slow'. Java, while not my favorite of all languages, is certainly not a bad one. I've used it and happen to like a lot of things...even if I'm currently infatuated with plain old C.

Pick the tool that fits the job. I wouldn't go around attempting to write Quake3 in java, that's not playing towards its strengths. Need a quick and dirty small gui application for windows? VB is pretty much ideal. Need a large fully featured 3d application? C/C++ is your choice. Need a more advanced 2d app or need cross-platform? Java is a viable solution in those situations.

I can eat only with a knife, however, I choose to use a fork and spoon as well because it just makes things easier.

Hmmm, in that case I tend to think of Python as a spork :)