begin  quoting gossamer axe as of Sun, Apr 10, 2005 at 09:56:00AM -0700:
> I like the idea of Java, to write something that will run on several
> different platforms.  How does it handle, say the differences in the
> file systems?  like c:\directory and /mnt/directory?

It can handle it transparently, assuming the programmer wasn't asleep.

I've never yet had a problem with any of my Java programs running under
MSWindows, even though I didn't write or test any of it against MSWindows.
I have, however, spent a fair amount of time fixing up other programs
to remove the platform dependencies (or even specific-machine dependencies)
so that it would run under Linux.

Despite frequently claims to the contrary, Java is pretty darn good at
the write-once-run-everywhere game, and nearly every instance I've found
to the contrary, it was a problem with the programmer.

>                                                       I've actually
> never tried Java.  I'm wondering how difficult it will be to port
> something from PHP to Java considering I'm not an experienced
> programmer.

One of the criticisms frequently aimed at Java is that too many newbie
programmers are writing (bad) Java programs.  I think it's a great
second or third language*, and is a better first language than many 
alternatives.

There are a number of languages that are built on _TOP_ of Java and
leverage its platform-independence that might be a better fit for the
porting from PHP.  If you don't like Java syntax, you can still leverage
the rest of the system.

-Stewart "Bin' doin' Java ah long tahm" Stremler

* After you've learned problem decomposition, design modularization, 
  lexical scoping, the difference between top-down and bottom-up, and 
  the idea that the computer doesn't guess at what you mean but does
  only what you say.
-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to