General Discussion

Topics that talk about general programming principles

Behind the Div Overlay

I surf around a lot and like to visit other forums where people ask questions and provide answers. I explore the programming and design forums and often see tons of questions regarding "How do I make a div overlay on Myspace?" Or more importantly, how do they make an div overlay period. What are these overlays? How do you do them? And how might you use them to alter pages ...

Leave My Property VB.NET

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 me." Martyr2 becomes puzzled. To get a better ...

Making the Right Choice In Implementation

Time and time again programmers come on the Dream.In.Code board seeking answers to a problem that they know the steps to solve but just can't get those steps to work on the computer. They know they need to add 1 to a value until it reaches 27, but how do you do that? A loop you say? But which one? Sometimes the newbie picks the wrong type of implementation to ...

Partial Classes and Methods – A Bit Ri dicu lous

The idea of a partial class was an idea brought on by Microsoft in the .NET framework awhile ago and ever since then I have seen very little use of them. However, I am sure they are around alive and well in more complex production code. I for one am not a huge fan of the idea of splitting a class over multiple files just for maintenance reasons, but I ...

10 Reasons to switch from Java to C#? HA!

Once in a great while I stumble across a supposedly "professional" article that makes little to no sense. This is usually due to some over evangelical developer who just loves a language. I think it is part of our job as developers to hold back the love and always approach language comparisons with an open mind. In this entry I will talk about an article that gives 10 reasons why ...

Programming Tip: Identify Change and Isolate it

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 that they can't keep up and find the ...