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

ASP.NET Variables Won't Hold Their Values

Icon Leave Comment
When it comes to working with ASP.NET most developers who have done standard desktop development always run into the problem of their class variables not retaining their values. You create a variable at the class/page level and expect that when you click a button or change a server control on the page that those variables will be there when its...
* * * * *

The Main Method Is a Conductor, Not a Member of the Orchestra

Icon 4 Comments
As many of you already know, I am a regular mentor on Dream.In.Code. With that I see common mistakes and design issues more than most people will probably ever seen in their full career. One design issue I would like to talk about today is the role of the main method and why it should be treated more like the conductor of an orchestra than 10...
- - - - -

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...

  • (2 Pages)
  • +
  • 1
  • 2