Archive

Archive for August, 2012

.Net vs Java

August 20, 2012 Leave a comment

I am sure that you are wondering, or have been brought here by trying to decide the merit or differences between Microsoft’s .Net and Sun/Oracle’s Java platforms.  There are a ton of sites that will give you the technical differences, ( Wikipedia has a few good ones: http://en.wikipedia.org/wiki/Comparison_of_the_Java_and_.NET_platforms and http://en.wikipedia.org/wiki/Comparison_of_Java_and_C_Sharp) and I will touch on the differences, but here is the biggest and only substantial difference: personal preference.

 

About me, briefly: I learned VB.Net in college, right after it was released.  Many thanks to Dr. Jenny, who will likely never read this, but had the forethought to teach a class on this new technology, and it was a revelation to me and felt far superior (which it is, and I can defend that position easily) to C++ which I had studied previously.  I then entered the workforce doing a combination of VB.Net and C# depending on the project (see a future Musing for those practical differences).  After about 4-5 years of .Net work in various capacities, I took it upon myself to learn Java and try to expand my knowledge base.  I studied several books and took the SCJP certification test, which I passed handily.  Passing it handily was a result of study, but honestly was mainly a result of knowing C# and how to use it.

 

Throughout the years, Microsoft and Sun/Oracle have copied each other and the great ideas that they have respectively had: generics and collections, delegates, properties, foreach loops, anonymous things. There has been an almost constant convergence that  has started to reverse, but I believe will continue in the long term.  As one iteration of a language invents a new way of doing things, the other will inevitably follow, however, they will both attempt to stay ahead of the other.  Consider this similar to the great marketing rivalries in technology, Microsoft/Google vs. Apple, Microsoft vs Sony vs Nintendo.  Perhaps the biggest similarity is that Microsoft is always on one end of it!

 

Having gone from .Net to Java, specifically C# 3.5 to Java 6, it was very straightforward and easy to adjust.  Coming back from Java 6 to C# 4.0 was likewise easy, however one thing that is overlooked in the technical discussion is the IDE.  Microsoft’s Visual Studio is a great IDE.  Especially once you are used to it and finding everything, it works great.  Snippets and searching and managing projects is great, as well as integration with Visual Source Safe and/or Subversion for source control.  Oracle’s Eclipse is also a great IDE.  If you are ever trying to learn how to work with it, print out a cheat sheet of keyboard shortcuts!  (http://www.n0sl33p.org/dev/eclipse_keys.html)  I find myself missing the shortcuts like Cntl+Shift+R/T for quick class opening immensely.

 

If you are going from C# to Java, it will be as easy as getting used to Eclipse.  If you are going from Java to C#, I recommend reading a book to get used to Visual Studio and the Microsoft world as a whole.  If you are going to or coming from VB.Net, then you are in trouble, unless you have done some C-related coding in the past.  In that case, pick up an introductory book to VB.Net or Java to ensure you can grasp the syntax differences.  VB.Net reads like a book, Java and C# read like code, and you may need a translator to pull that off.  The general object oriented topics and abstraction will always be the same and at the end of the day any of these can meet your needs and they all have pluses and minuses, but it really just depends on what your coder likes the best.  Always put them in a position to give you the best code and you will [usually] get the best code.  Frameworks and platforms can be adjusted easily, but coders who are stuck in their ways cannot.

 

Personally, I miss Java right now, but I really missed .Net when I was working with Java, so that just means that they’re truly about the same!!

Categories: .Net, Java, Musings

How to [or not to] move forward in today’s technology market?

August 16, 2012 Leave a comment

I ended the title with a question mark because part of this sentiment is how can I best move forward, and also how I have managed to move forward to this point. I have had a successful career to date, mostly by working hard and taking the initiative to learn new technology and branch out in my experiences.

As a consultant, I’ve worked with people in all types of offices and I see people with and without ambition, drive and intelligence.  There are a remarkable number of people who are good at their jobs and have no desire to move forward in them.  That’s fine with me, of course, because these people are usually content to sit back and get things done without complicating things.  The problem I’ve seen, however, is when they are promoted because they’ve been around for a long time being good at their job.  Very few people will turn down a promotion because they usually come with more money and who ever says no to that?  I am reminded of Admiral Kirk when he says not to let them take you out of that chair where you belong: http://youtu.be/VrJiU9BOEBI
If you know you’re better off, say so! Your boss will understand and thank you for it!

Anyway, I want to make it to CIO one day, but I am still working on my technical prowess and experience. I add new skills almost daily and see how different companies and organizations work and use technology to better themselves. One day that will stop, and I’m not sure how to gauge when to move into a more direct management or permanant role… so, how should I move forward?

Today’s technology market is borderline insane. I think that there are far too many options and possibilities to really make the best choice every time. You could spend ages comparing COTS systems, or Java vs. .Net, Oracle vs SQL Server, Droopal vs Joomla! vs WordPress. At the end of the day, you need to jump on something and make it work. If you can’t make it work, then get something that can. I think the biggest thing that you can do on a daily basis is to just be flexible and open and always searching for that best possible solution. There will always be someone with a preference, and if they’re the ones solving your problems, then go with their preference and you’ll be fine.

Possible future musings:
-Augmented Intelligence
-Sharepoint
-Consulting

Categories: How-To, Musings Tags: , , ,