Re: Java and .NET (no Flames Pls)
From: Jon Skeet [C# MVP] (skeet_at_pobox.com)
Date: 09/17/04
- Next message: news.microsoft.com: "Re: search in a HashTable, DataTable, and XmlDocument, which is faster?"
- Previous message: Kazi: "Re: How to retrieve serial number of OS or CPU for copy protection?"
- In reply to: Joe Lentrichia: "Re: Java and .NET (no Flames Pls)"
- Next in thread: Mike Newton: "Re: Java and .NET (no Flames Pls)"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 17 Sep 2004 13:40:21 +0100
<"=?Utf-8?B?Sm9lIExlbnRyaWNoaWE=?=" <jlentrichia(nospam)@hotmail.com>>
wrote:
> Jon, it seems you are much in favor of java. Why then, I ask, are you a C#
> MVP?
Because I'm also very much in favour of C#. There's no reason why any
one person can't think they're both great languages on great platforms.
Currently I'm involved in writing C#. I may well go back to Java in my
job, whereupon I'll spend a little less time in these newsgroups and
more time back in the Java groups.
> I agree with all your statements. Except the last one where a consumer of a
> .NET webservice might not be able to. I haven't seen this, unless perhaps
> you're talking about returning a DataSet, in which case I have to argue that
> the benefits outweigh the consumption downfalls. Even a DataSet can be
> consumed tho I believe.
I *think* there are some things that a .NET web-service can produce
which aren't in the standard, but I don't have any examples to hand.
(IIRC, they're things which really should have been in the standard,
but aren't.)
> I will download Eclipse and give it a try next time I'm doing some Java code
> (likely next month) just on your recommendations alone. Some things I will
> look for: Does it contain a WYSIWYG HTML editor? Does it have an integrated
> WS proxy generator? Interactive debugging, with a built in web server? Good
> debugging features: watches, etc.
Interactive debugging, certainly. The web server isn't built-in, so
much as there are Tomcat plugins to make it easy. (The debugging is
actually better in Eclipse than current VS.NET, IMO. Things like
generic conditional breakpoints which I don't *think* are supported in
VS.NET.)
WYSIWYG HTML editor - I don't believe so, but there may well be a plug-
in somewhere.
WS proxy generator - again, I don't know, but I'd be very surprised if
a plug-in didn't exist. (In fact, have a look at
http://www.eclipse-plugins.info/eclipse/search.jsp?query=wsdl - it
looks like you should be fine.)
The number of plug-ins for Eclipse is enormous.
> One other thing, and this is strictly a preference nothing to do really with
> support (although you could argue perhaps some sense of abstraction) is
> Properties of a class instead of getters and setters. I was having a funny
> conversation with a Java programmer and he mistakenly thought that Properties
> were a violation of encapsulation, until I told him that they weren't
> internal data being accessed directly. (eg: Java: getThisProp{}
> setThisProp{}, C#: ThisProp{ get: set: };
That's one of the things I prefer about C#, along with delegates,
events, and the "using" statement.
-- Jon Skeet - <skeet@pobox.com> http://www.pobox.com/~skeet If replying to the group, please do not mail me too
- Next message: news.microsoft.com: "Re: search in a HashTable, DataTable, and XmlDocument, which is faster?"
- Previous message: Kazi: "Re: How to retrieve serial number of OS or CPU for copy protection?"
- In reply to: Joe Lentrichia: "Re: Java and .NET (no Flames Pls)"
- Next in thread: Mike Newton: "Re: Java and .NET (no Flames Pls)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|