Subscribe to Martyr2's Programming Underground        RSS Feed
- - - - -

Linear Search for Sorted Lists: My Take

Icon 8 Comments
Ready for another high octane, explosion-filled and death defying episode of the Programming Underground?!?! Sure you are! Today I give my take on a blog article I stumbled across today called "Computer Algorithms: Linear Search in Sorted Lists...
- - - - -

Making a Simple Test Harness

Icon 3 Comments
Again and again we get people on the board saying something along the lines of "I have this problem with my project, I think it is this function giving me the trouble, but can someone help me figure out what is going on?" What is the first thing the pros do in such a situation? They create what is known as a test harness (aka driver...
- - - - -

Leave My Property VB.NET

Icon Leave Comment
A shiny silver gun is drawn and stuck in the back of the perpetrator. "I thought I told you to leave my property. What are you still doing here?" A brief pause and the criminal responds "Leave? I thought you meant implement some properties, so I implemented three of them... a name, an age, and a phone number where you can reach...
- - - - -

Programming Tip: Identify Change and Isolate it

Icon 2 Comments
Often times I see new programmers come onto the board and show some code demonstrating very dynamic programming. Fantastic, but then they attempt to either hard code values into it or have the dynamic activities spread all over the program instead of having it in one place. Then when the code gets a bit unruly, they have too many things changing...
- - - - -

Avoid Tying Classes to Your Forms

Icon Leave Comment
So you have a great class written and you want to integrate it into your project. Whether it be C#, Java, VB even C++ you may have asked yourself "How do I go about getting my class to update my form controls?" or "How do I get the class to change something on my interface or another class?" It is a common question asked on the...
- - - - -

Programming Tip: Control Your Whitespace

Icon Leave Comment
I am writing this blog entry to talk to all the programmers out there, who post regularly post on the board, who are in the industry, who are new or who are experienced... code organization is key to a great looking program and to help reduce your debugging troubles. Often times I sit on the Dream.In.Code web board helping out when I am suddenly...
- - - - -

Test and Test Some More

Icon Leave Comment
At the heart of programming is the test. Without a good test, nothing will work right. How often should you test and what should you test? We will cover a few topics in the world of testing and how you can make tests that tell you the most about what is going on with your programming... on this entry of the Programming Underground!

<Techno...
- - - - -

Best Practice: Naming Conventions

Icon 2 Comments
i = 0, j = k + t % rr ok? Do we even know what the heck that is saying? This is the kind of stuff programmers have to deal with when editing someone else's code. What do these things mean? As programmers we should strive to make code better than we found it. A keyword here is "Naming convention". We will explore what it means to have...
- - - - -

Variable Lifespan... It's Born, Used, and Dies

Icon Leave Comment
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...
Page 1 of 1