MCSA 2003 | Preparing For OCPJP/SCJP6
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
David Newton wrote:On the "personal opinion" side, C#-the-language has continued to evolve, where Java-the-language has largely stagnated (some of the reasons for the stagnation are technical and arguable, some are more political). I believe C# to be incrementally better than Java, with a few caveats... but there are *substantially* better languages than both, so it's not something I think about very often. C#-the-platform isn't a reasonable choice for me, though, for non-technical reasons.
Henry Wong wrote:
There are also *substantially* worse languages than both, so it's not something I think about often either.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
MCSA 2003 | Preparing For OCPJP/SCJP6
MCSA 2003 | Preparing For OCPJP/SCJP6
One of the main reason for studying language on professional basis is for earning more and more, Interest for language comes at next place;........
In my opinion Java is better for learning first, because C# is a hybrid language ; Microsoft always tries to pick all important features of many Object Oriented languages and put it in a single language known as C#.
Jagadeeswara Yaramala wrote :
If you can sell your expert PHP skills....probably one may be earning more than the 'basic' skills in Java or C#. The point is your expert level in a given language and how better you can sell that.
If you go to some of the job sites (In India, naukri.com etc), you can compare the salaries for C# and Java job postings.(In my opinion, as of now, Java jobs get well paid than C#). These things may change based on what oracle will do for Java.
One more thing, enterprises (the companies which will get us the jobs) think on total cost of software application. In this respect, Java is better (Open source)
With C# applications, the enterprises need to buy lot of software licences and hence the cost goes up for them.
Elchin Asgarli wrote :
If one of them would be better in everything, the other one would simply not exist
MCSA 2003 | Preparing For OCPJP/SCJP6
Elchin Asgarli wrote:If one of them would be better in everything, the other one would simply not exist ;) Thus you can not objectively say Java/C# is better.
MCSA 2003 | Preparing For OCPJP/SCJP6
David Newton wrote:
Elchin Asgarli wrote:If one of them would be better in everything, the other one would simply not exist ;) Thus you can not objectively say Java/C# is better.
I disagree completely; that's not how businesses operate. There are lots of things that exist for which completely better alternatives are available, yet they exist, for a variety of reasons.
Frank Bennett wrote:COBOL applications executing on a mainframe are still much faster than anything written in Java or C++.
However, for fancy web pages and such Java is the BEST option.
Mainframe COBOL executes MILLIONS OF INSTRUCTIONS PER SECOND...that is MILLIONS in a single second. A JRE will never be able to compete with this
I really haven't found that to be the case
Frank Bennett wrote:
The really depends upon "your" particular experiences doesn't it. How much COBOL programming have you done and what are the data file sizes that you have worked with?
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Frank Bennett wrote:Mainframe COBOL executes MILLIONS OF INSTRUCTIONS PER SECOND...that is MILLIONS in a single second. A JRE will never be able to compete with this
Jesper Young wrote:
Frank Bennett wrote:Mainframe COBOL executes MILLIONS OF INSTRUCTIONS PER SECOND...that is MILLIONS in a single second. A JRE will never be able to compete with this
Really? Let's try a simple, small Java program:
This adds up ten million numbers and prints the result.
How long so you think this Java program takes to run? On my laptop (a standard MacBook Pro) it takes about a quarter of a second. Wow! That means it executes TENS OF MILLIONS OF INSTRUCTIONS PER SECOND. Do you still want to claim that the JVM cannot compete with MILLIONS OF INSTRUCTIONS PER SECOND of COBOL running on a mainframe?
People do not use COBOL and mainframes because they are so fantastically fast. If you think they are, please provide some real proof.
Frank Bennett wrote:LOL, does the example above accuratley represent complex, "number-crunching" algorithms used to efficiently process multi-terra bytes of data?
What about related I/O operations for mulltiple files? What about database operations for each pass? To mention a few common aspects of "real" data processing... nice try though!
MCSA 2003 | Preparing For OCPJP/SCJP6
Vishal Kashyap wrote:I think,
This question has NO ANSWER in ACCURATE. ....
So, not getting the correct and accurate answer which will satisfy any programmer in favor of Java or in favor of C#. Means, still standing on this confusing road; and waiting for a proper guide.![]()
David Newton wrote :
- Better JIT/performance
- More open-source friendly
- More platform options
That's about it. A lot of what's good about Java isn't about Java-the-language, but rather Java-the-platform: Java-the-platform has, in my opinion, a *lot* of advantages over C#, but that's a different type of conversation, some of which isn't technical.
MCSA 2003 | Preparing For OCPJP/SCJP6
but I'd still stack up a wad of commodity hardware and Java-based map/reduce against a mainframe and COBOL for lower TCO with same-order-of-magnitude performance.
Frank Bennett wrote:
Mainframe COBOL executes MILLIONS OF INSTRUCTIONS PER SECOND...that is MILLIONS in a single second. A JRE will never be able to compete with this
Frank Bennett wrote:
but I'd still stack up a wad of commodity hardware and Java-based map/reduce against a mainframe and COBOL for lower TCO with same-order-of-magnitude performance.
Dave, it would be a good challenge and I'd be interested to see the results. It has been a couple of years for me and COBOL applications however. However, when we created OO Java versions of certain COBOL applications, the performance speed was very close (running on Solaris machines.) The longest data routines took 20+ hours for light data loads. We fooled around with Perl threads to get some COBOL routines to execute simultaneously. Client did not want any Java JRE anywhere in the system for security reasons.
Vishal Kashyap wrote:C# is also a platform Independent language
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Consider Paul's rocket mass heater. |