Design Limbo

Tag: Programming

The Programming Career Path

by Shawn on Jan.27, 2010, under Business, Development, Random

I just read ITWorld’s quick blog titled “Is Programming a Lucrative Profession” which focus on salary, benefits and stability. All of which are incredibly valuable and important to cover. But to me lucrative can mean different things. As a person who loves learning, challenging intellectual work and a laid back professional environment professional programming fits the bill for me, it’s another part of the overall package.

Can you make money being a programmer? Absolutely. Can you make a good living being a programmer? Again yes. Will you become a millionaire? Probably not, at least not working for someone else or taking risks on compensation like stock options in startup companies. But I’m going to focus on someone who wants to program and live in an existing corporate structure, the bread and butter of the programming legion. In that context is programming a lucrative career? No.

To me, having a career and a job are two completely different things. When you have a career you have a path for promotions and bigger and better things, or upward mobility. The pinnacle of upward mobility is an executive level (CxO) position at a large company, this is where you can make millions without having to do it yourself or taking risky jobs at startup companies.

I started out my technology career repairing computers and got a job working at a help desk of a credit union. After a year on the job I realized that the end of my career path was, at best, an IT manager and more likely just a Help Desk Supervisor, plus the money wasn’t good at all. So I moved to working on Servers and Networks and became an Administrator. The money was better but the career path didn’t look a whole lot better. Being a Administrator I had an easier path to become an IT manager, but not a whole lot. So I switched to development work, it was a passion of mine, and the immediate benefits were better. But was it the best career move?

My current view is that without a healthy understanding of business moving into an executive level position is almost impossible. They are more likely to promote an MBA who has upgraded his RAM at home once to a CTO then a hardcore programmer because it’s a business position more then a technology position, should that be the case, no, but it’s reality.

Development can be a lucrative profession and a lucrative job, but it’s not a lucrative career when compared to other professions. Doctors, lawyers and accountants all lucrative jobs and careers. But having good business knowledge and communication skills are as vital to some of those as well (i.e. Accountants) but never paired with technology professionals, were still trying to shed the past of poorly dressed, groomed, eccentric and unsociable technologists of days yonder. Being an accountant is inherently “business’ie” but technology isn’t and as such we have a handicap that needs to be overcome.

Technological skill and business knowhow are a potent combination to career success. Your professional goals may never to be an executive, but neglecting the business side of technology can hurt your chances to progress in your career and become an Software Architect, or Development Manager as well. Programming can be a very lucrative career when coupled with solid business knowledge and good communication skills, but programming by itself isn’t.

1 Comment :, , more...

The Dangers of Copy/Paste Coding

by Shawn on Oct.28, 2009, under Development

One of my blogging hero’s Jeff Atwood blogged about this a few months ago, but it never really hit home for me until recently. I’m a “Don’t reinvent the wheel” kind of guy, I much rather spend time building direct business value then working on plumbing. So being the blatant rip off artist that I am I use Google for answers to things I think are common.

I stumbled upon BouncyCastle a little while ago when trying to find a way to move away from Chilkat’s encryption library to one that would allow me to compile my assembly with the “Any CPU” flag. But to my dismay they have a very limited amount, bordering on none, of the samples and documentation I needed to use their library. So I turned to my old friend Google for some answers.

What Google returned for me was a post by Havard Stranden on his blog, someone who I’ve read before and even used his Copyable software before. Havard had exactly what I was looking for, and some code examples, I was so happy. So I begun the art of copy and paste and was on my way.

I’ve started to use Unit Tests a little more then in the past. I’m not part of the religion by any means, more of an observer waiting and watching for the spiked punch to be rolled out and the show to begin. I usually use Unit Tests to fix problems or reaffirm my knowledge, because I still didn’t have a lot of information on BouncyCastle I wrapped Unit Tests around my RSA encryption and started testing.

Well some of my Unit Tests failed and some others threw exceptions. I blamed everything but the code I copied and pasted from the Internet. I changed my encoding at least 5 times, I changed my wrapping and conversion functions another 5 or so times, and so on. I wasted about a week trying to figure out what was wrong, why could I correctly encryption and decrypt a small block of test, but not a larger one.

Finally I stepped into the code, line by line and observed what was occurring, and I finally found the issue. This was the inner loop of my encryption and decryption methods, which basically chunk through and array and encrypt and decrypt each chunk. Can you guess where the problem was?

image

What I found out was chunkSize was going negative, or to zero, a lot. If what I was encryption was less then the blockSize, which is how many parts of the array the RSA encryption function can handle at a time, the I was good. But if it was a larger amount of data it would completely bomb out.

What I ended up with was more then I think one line can handle, but I could be wrong. Basically there were three cases I saw, and I put some if statements in to handle them.

image

I don’t know why I didn’t dawn on me to check my copy/paste programming first, but I’m so used to finding code that just works I rarely check to to ensure it does. The code probably was a quick sampling or a mock up and not his actually production code. I have no idea where it came from but assuming it was ‘live’ code was the wrong thing to do. When I started having problems that’s probably the first thing I should have looked at, as it was the only thing I didn’t completely understand or write myself.

So word to the wise all you Copy/Paste programmers, check from time to time to ensure the code works properly, else you could burn many hours tracking down issues.

P.S. Sorry Havard, but I don’t know the Alt code for that special A.

2 Comments :, , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...