Re: String literals in Java
From: Chris Smith (cdsmith_at_twu.net)
Date: 05/29/04
- Next message: Chris Smith: "Re: Java slow ?"
- Previous message: Roedy Green: "Re: String literals in Java"
- In reply to: Harri Pesonen: "Re: String literals in Java"
- Next in thread: Jim Cochrane: "Re: String literals in Java"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 28 May 2004 19:39:19 -0600
Harri Pesonen wrote:
> C# and .NET platform have been designed to have the best features from
> Java, without the burden of deprecated API or language features. Java
> 1.5 proves that C# is/was ahead of Java in many ways.
Yes, you're right that C# is/was ahead of Java in many ways. It was
just the ludicrous extension of that as a way to prove that *everything*
in C# is better than Java that was ridiculous. We all understand by now
that you like these "literal" strings from C#. (At least, those of us
who aren't completely oblivious do...). I, on the other hand, consider
them an incomplete attempt to complicate the language so as to avoid a
relatively painless problem. And yes, I do JDBC programming with SQL
strings all the time.
> I could go on, but C# is simply superior to Java (in Win32). I hope that
> Java gets better, Java 1.5 sounds very promising.
It's really not that simple. Specifically, C# suffers from the
disadvantage that it's really a rather complex language with a lot more
gotchas to look out for than Java; a lot more situations where it's
rather non-obvious what's going on. It represents a language that's a
lot heavier on the syntactic sugar than Java is. Essentially, it comes
from a considerably different language design philosophy.
Hopefully, Java 1.5 takes those genuinely good ideas from C# that are
really compatible with its language design, but still remains its own
language with its own advantages. It looks like that balance is largely
happening (although I'd be pushing for leaving out a few more things
like the new for loop syntax and static imports). Obviously, some
people in charge have more of a vision for what Java should be than
simply trying to make it as much like C# as possible.
-- www.designacourse.com The Easiest Way to Train Anyone... Anywhere. Chris Smith - Lead Software Developer/Technical Trainer MindIQ Corporation
- Next message: Chris Smith: "Re: Java slow ?"
- Previous message: Roedy Green: "Re: String literals in Java"
- In reply to: Harri Pesonen: "Re: String literals in Java"
- Next in thread: Jim Cochrane: "Re: String literals in Java"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|