Home > Microsoft .Net Development Tips > ARCHIVE: IT Career Expert > Java versus C# -- no need for war, just understanding
Win Development Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ARCHIVE: IT CAREER EXPERT

Java versus C# -- no need for war, just understanding


Terry Sweeney
02.12.2003
Rating: -4.00- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Too often the debates over cheaper, faster and better deteriorate into religious wars. Just mention the sins of the Macintosh computer, the Linux operating system or non-Intel silicon to get the argument going. But as developers and programmers look for new jobs or move up within their own organizations, they may debate the merits of being proficient in both Java and Microsoft's C#. Yes, it's always ideal to have both, but is the ideal really necessary? Experts and at least one leading corporate user don't think so.

Products of their environment

"Writing in both languages is one thing, but that doesn't make you more qualified for runtime environments," said Kevin Jubera, manager of application development services (ADS) centers of excellence in the IT department of Ford Motor Co. "When we look at the languages themselves, they're extremely close. But the environments they run in are very different, and the knowledge required to interface to the APIs is very different."

Both Java and C# tout features like simplicity, object orientation and robustness. Microsoft describes C# as a programming language that makes it easier for C and C++ programmers to generate COM+-ready programs with type safety, garbage collection, simplified type declarations, versioning and scalability support, and other features. Java, developed by Sun Microsystems Inc., is a platform-independent, object-oriented language. Java programs are not compiled; they are interpreted as they run. Hence the repetition of "write once, run anywhere" in Sun marketing lingo.

Java's double dose

If Java appears more omnipresent, it may be because it works with a variety of server flavors, including Unix, Linux, NT and others -- a breadth that C# and .NET aspire to but have not yet achieved. Still, some consider C# to be superior because it supports attribute-based programming, operator overloading and defining custom enumerations, among other functions.

And as Tom Barnaby, lead instructor for Intertec Inc., points out, it's important to distinguish that Java is both a language and a platform, while C# is the language that uses the .NET platform. "The amount of time to learn the other language is one to two weeks. But learning the underlying platform is a much harder task and can take a couple months," said Barnaby, who does corporate training of IT personnel.

A programmer who knows only C# will not be volunteering for an appreciably different career path than one who knows only Java. Both languages target the same applications, Barnaby said. But those who choose Java will be more likely to work in a Unix environment, while C# programmers will almost certainly end up doing Windows.

"J" before "C"?

Moving from Java to C# is the easier transition to make, according to Barnaby. He estimates that it would take about a week for those fluent in Java to get comfortable with the C# syntax and three months to get familiar with the .NET platform.

Programmers and developers may need more time, if C# is their starting point. "Java might be a little more difficult for a newbie," Barnaby said. One immediate challenge is the variety of server platforms that Java runs on, as well as the wide variety of development tools for creating Java programs.

Ford's Jubera said that his company writes and handles a lot of Java 2 Enterprise Edition (J2EE) server-side applications, running either with IBM Corp.'s WebSphere or BEA Systems' WebLogic. The apps run Java code that is then presented to the user through a browser.

Jubera is very circumspect with regard to the role of C# in the future of Ford's application development. "In terms of C#, we have only some pilots in the .NET environment. They're finished now, and we're launching one of them in a few weeks," he said. Clearly, for the foreseeable future, Java will continue to be a driving force at Ford.

That should not deter programmers and developers from learning C# and, with any luck, Java and C# can avoid the either/or dichotomy at the heart of most religious wars. "Things have never been better for developers, because you can choose to learn either Java or C#, and later on you can decide to switch to the other quite easily," Barnaby said. "That's quite unlike the way other technologies have been in the past."


Terry Sweeney is a freelance writer and editor based in Los Angeles.

More on this topic:

  • C# Tips: If your C# skills could be sharper, check out these tips from the Visual Studio.NET Info Center. If you've got a tip, please share!
  • Java Best Web Links: Get a whiff of what Java is all about from SearchWebServices.com

Rate this Tip
To rate tips, you must be a member of SearchWinDevelopment.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
ARCHIVE: IT Career Expert
SearchVB wants your tips
Pondering MCAD exam changes
How to ask for a raise -- and not get fired
Experts: network jobs, pay on upswing heading into '05
Breaking into the IT field with little experience
When is it time to get out of tech?
Resume services: Are they worth the money?
Advanced job interview techniques for IT pros
Does job security for security technology jobs exist?
Sharpening up your soft skills

C# Development
Let Microsoft StyleCop tame your wild C#
Picking a .NET smart client communications technology
LINQ beyond queries: Strong-typed refection
Book excerpt: An introduction to DSL tools
Assembly versioning in the .NET Framework 2.0
Book excerpt: Creating graphical output using the .NET Compact Framework
On Extension Methods in C# and .NET Framework 3.5
Generate RSA public and private keys, export to XML
Book excerpt: Upgrading to Visual Studio 2005
Learning .NET: Tips for getting started with .NET development

.NET job advice
Microsoft expands 'How Do I' video tutorial series
Survey: Time, money often drive choices for Microsoft developers
Cash in on Visual Studio 2005 e-learning discounts
SearchVB.com podcast: What readers said about the state of VB
SearchVB.com survey: VB .NET making progress, but VB 6 still No. 1
VB.NET News: Upgrading VB skills, more
Visual Basic programming: Second class no more
Microsoft offers self-assessments for Visual Studio.NET
VS2005 has launched. Now what?
With VB growing, it's time to specialize

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Database Programming Solutions - .NET XML, Visual Studio LINQ, ORM .NET
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts