Posts Tagged "Desktop Programming"

Comparators in Java (Prepare to Compare)

Damn! I just can't get that linkedlist to sort! What did I ever do to deserve this? Why god why!!!!!!! Ok, maybe I am being a bit over dramatic and lets face it, I think I have only gotten to the point where God and I were sharing code frustrations only a few times in my entire life. When code is not cooperating and deadlines are looming, you and the ...

Microsoft Should Take A Look at Java

I am sure some of us have stopped and thought "Is Microsoft really going in the right direction with its development languages?" and then you probably put your nose back into the compiler and continued coding, not giving it another thought. But wait a minute, perhaps you are right. Maybe we should take another look instead of just blindly following Microsoft's techies into their vision of what software should be ...

Understanding JTables

JTables... the Java swing component version of a datagrid used in .NET. It is often a misunderstood component by newbie Java programmers. In reality it is very easy to use once you understand the model behind it. Through the model you can manipulate the content of the JTable and make it bend to your will! Add that row! Delete that Row! Feel like a dictator after reading this entry.... on ...

Fines Double in Constructor / Destructor Zones

If your language is somewhat of a fully object oriented programming language then it probably has some form of constructors and destructors. But what good are they? How do you use them to your full advantage to keep your objects "valid"? What is this whole idea of a default constructor and why in the heck do I want to create my own constructor if the default constructor is there for ...

VC++.NET Syntax is Going to Hell In a Hat

Ok, maybe the topic is a little tough but the general idea is pretty sound. Recently I had the pleasure of helping someone on DIC with a VC++ project and decided to whip up something in the latest VS 2005. Now granted much my experience in VC++ was pre 2005 CLI so I was completely blown away with the syntax changes they made using the Common language Infrastructure (CLI) to ...

Variable Lifespan… It’s Born, Used and Dies

Variable lifespan is a very important topic. But what is it and how do we use it to our advantage? A variable's lifespan is the time between its initialization and the time it either goes out of scope or is purposely destroyed (yeah that is right, a programmer can be a hitman too!) Most programmers don't fully realize the implications of setting a variable at the top of a function ...