Desktop Programming

Desktop programming related articles not related to .NET (Java, Python, Ruby etc)

Nodes in a Linked List and Binary Trees

A node... a singular entity found drifting in space. So you throw out the tractor beam and bring it aboard. Safe right? After all, what can a simple node do? Little did you realize that the node, when combined with others, could form an organized group with a singular purpose... TO ASSIMILATE YOU! Ok, perhaps I am going a bit overboard with the whole Borg analogy. But when you think ...

Waffle Matrices…Mmmm Where is the Syrup?

Have you ever sat at the kitchen table where you mom made you a big stack of waffles only to stare at the squares and realize it could be a matrix? Young child programmers do all the time! Heck you might have even written in random numbers using syrup into each square before eating it all up. Skyhawk133 wanted me to make a video on this very subject and while ...

Pig Latin Definitive (C++, C#, Java, VB.NET, PHP)

Igpay atinlay isway oolcay... or so they say in the world of pig latin. A childhood language that was supposed to be "secret" and only the select few would know. Little did we know back then that parents had been speaking that language ever since they were little and no way did we get anything past them. Maybe I shouldn't have called them some nasty words. No wonder they sent ...

Quicksort Definitive (C++, C#, Java, VB.NET, PHP)

One of the funnest things about being fluent in multiple languages is porting code from one language to another or in my case, porting a piece of code to 6 or 7 languages and allowing any newbie the opportunity to learn algorithms despite their language. It also makes it great to see the differences between languages and some challenges (as we will see with our Java example). On this entry ...

C++ or C#, In the End Does It Even Matter?

This debate rages on and on and really appears to have no end in sight. Everyone tackles this long winded discussion from a different angle and it even gets into verbal attacks between parties. Some quoting one source while another quoting another source when really people have lost the overall picture that programming is meant to solve... providing a solution to a problem. Some languages work better on certain problems ...

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