5 Quick and Easy Refactoring Tips

You wouldn't believe how many programming questions I run across, on a daily basis, asking for help with programs that contain repetition, duplication and enough spaghetti code to feed half of Italy. Often times the person asking the question has a particular problem but they don't know exactly where the problem originates. So they plop down a bunch of code and say "It is somewhere in there... I think". Usually ...

Stash Data Away in Controls With the Tag Property Using VB.NET

One of the most underutilized properties of any control is a property called "tag". What does it do? Does it cure world hunger? Does it save the planet from annihilation? I would probably say no on both counts, but it does have a bit of a mystique that beginners may not be fully aware of. In design mode of Visual Studio if you select a control, a button or text ...

Cleaning Industry Code: Where to Start on this Awful Mess!

Congratulations on your new job! You are the master of the coding universe and you are going to show everyone that you are the ultimate truth. The first day of your new job and you stroll into the office, strutting with your shimmering Starbucks mug, trendy new clothes and carrying your new laptop that could whip anybody. You sit down and fire up the PC and login for the first ...

Function Pointer Basics in C++

Beginners to C++ programming find the concept of pointers foreign to them. Pointers, and code that manipulates pointers (aka pointer arithmetic), can even be daunting to some of the most seasoned programmers. Pointers in C++ account for a fair share of bugs in programs due to the lack of understanding. So why even use them? Well, besides being the most problematic, they are also some of the most powerful features ...

Could JavaScript Standardize the Smart Home Ecosystem?

While browsing the web today I stumbled across an article from CNN titled "The scattered, futuristic world of home automation" where the author, Heather Kelly, talks about the exciting world of home smart devices as seen at the 2013 Consumer Electronics Expo in Las Vegas. She brought up a good question, how does something as low-tech as a light connect to your smartphone? How might it get to the stage ...

Can Facebook Graph Search Be A Bigger Than Ever Privacy Concern?

So you have a bunch of friends on Facebook and they know everything about you right? Most likely not. Sure you have some data out there being shared with them, but how many times is someone going to put two and two together to determine if you live in Palo Alto California AND you love puppies? Maybe some, but with Graph search, Facebook's new announced product, they are going to ...