Archive

Archive for the ‘Breaking Builds’ Category

Things I learned developing today, 23-JUN-2010

June 23, 2010 Leave a comment

This is my first blog post in a while. I have decided to start writing a blog about my experiences while developing either at work or at home. I suppose I should give a little explanation as to what I am developing in and what I am developing on…

Without being too specific, at work I am writing programs primarily in C on OpenVMS, and C++ in VS2003 on Windows XP. Every once in a while I also dabble in DCL (Digital Command Language), C#, Java, and Tibco Business Works.

At home I am generally writing code in C# and Python, every once in a while switching off to C/C++ and various other languages.

That being said, today I made a few mistakes. I accidentally checked in code, breaking the build :(, that had warnings in it. The problem was that I assumed these warnings were pre-existing in the legacy code I was working on. FALSE. I had accidentally deleted a line. Lesson: When working with legacy code DO NOT assume that compiler warnings were pre-existing in the code, you probably introduced them.

Furthermore, when a build/integration expert tells you that you broke the build, don’t question them. It’s not that they would even mind, as they have probably done it themselves, but you will probably come across as a little brash or “snooty”.

Well, that is it for today. Trying to keep these quick so that I actually do them :)…

Advertisements
Categories: Breaking Builds