Home > Networking Tips > > Java versus C# -- no need for war, just understanding
Networking Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


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


Terry Sweeney
02.12.2003
Rating: --- (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 SearchNetworking.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
Networking Certifications and Careers
Which are the most valuable networking certifications?
How much do the CCIE exams cost?
After the CCNA, can I pursue CWNA, Cisco's wireless certification?
Career advancement in four steps: Computer networking certification and career advice
Which Q&A brain dump sites will help me prepare for the CCNA exam?
How does CCIE certification help me find a network security job?
New Cisco certification redefines network engineer career path
SolarWinds offers network management training and certification
New skills emerge for network engineering and administration careers
Cisco Certified Network Professional (CCNP) routing test vs. CCNP switching test

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.



Networking Solutions for Business

Alcatel-Lucent Network Business Communications Solutions

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