Re: OT Java, C#, C++
- From: Richard <riplin@xxxxxxxxxxxx>
- Date: Sun, 13 Jan 2008 16:45:08 -0800 (PST)
On Jan 12, 1:01 pm, "Pete Dashwood"
<dashw...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
"William M. Klein" <wmkl...@xxxxxxxxxxxxxxxxx> wrote in messagenews:I%Phj.255354$He.247582@xxxxxxxxxxxxxxxxxxxxxxxxx
Although still off-topic, I was just wondering, ...
In the threads on Java, it seems to me that some of those embracing OO are
moving from Java to C# (not C++).
I know that the CLI run-time (I think that is what is still called outside
Microsoft) is available on other platforms, but I was wondering how
"portable" those using C# is in practice.
Are those using C# mostly doing Windows applications?
Speaking for myself, "Yes". (Its where the market is...)
If you wanted to do OO for a "portable to where CLI isn't" environment,
would you use Java or C++ - or something else (and why)?
Possibly Java, but more likely C#. It has arguably better facilities than
Java (although this is subjective; both languages are excellent), but I
specifically like certain features of C# (better IDE and Debugging, FOREACH
for iterating over collections... SO easy, and very easy-to-write event
handlers. Mainly, I like the succinct, easy-to-read code and the fact that
everything is typed. Stuff (even complex machine oriented stuff) just
works...
If the User had Java already, and/or expressed a preference for NO C#, then
I'd use Java.
Just curious.
Based on a sample of one :-) written totally as an experiment, but a real
application...:
1. C# developed on a Windows platform and NOT using unmanaged code
(specifically, InterOp Services) or platform-specific Classes, runs
perfectly on any Windows platform running the appropriate version of DotNET.
2. The SAME C# Assembly runs correctly on a machine running Mono/Linux,
WITHOUT recompile or reconfiguring.
While it is possible to write C# programs that will run identically on
both, it is also possible to write perfectly good programs which are
locked to 'Windows only'.
Partly this is because Mono will always be behind the latest Windows
stuff, but also because Mono doesn't/can't use the Windows API as can
be done.
If, however, one used the GTK+ windowing subsystem then it will run on
both.
C# is accelerating in popularity for a number of reasons, and cross-platform
capability is just one aspect of it.
When MS implemented their Java as J++ they added 'Windows Only' stuff
into it and failed to indicate that this was not cross-platform in the
expectation that they could have it both ways: alleged 'cross-
platform' _and_ Windows Only lockin.
Mono is supplying that for MS. In theory cross-platform, in practice
Windows only (unless special care is taken).
I only wish I had got into it sooner; I could have saved myself a lot of
aggravation with OO COBOL.
Pete.
--
"I used to write COBOL...now I can do anything."
.
- Follow-Ups:
- Re: OT Java, C#, C++
- From: Pete Dashwood
- Re: OT Java, C#, C++
- References:
- OT Java, C#, C++
- From: William M. Klein
- Re: OT Java, C#, C++
- From: Pete Dashwood
- OT Java, C#, C++
- Prev by Date: Re: OT: Racial superiority / Intelligent design was Re: OT:Thanksgiving
- Next by Date: Re: OT: Racial superiority / Intelligent design was Re: OT:Thanksgiving
- Previous by thread: Re: OT Java, C#, C++
- Next by thread: Re: OT Java, C#, C++
- Index(es):
Relevant Pages
|