Programming Theory

Best practices, structuring of code, dissecting algorithms and talking about the “Why?”

Integrate Your Favorite YouTube Channels with JavaScript

Like me you probably have several YouTube channels that you like to follow. Maybe you enjoy that crazy cat video channel or the channel which shows stupid people doing stupid stuff. Either way you want to bring those favorite channels to the world in all their glory on your site. One thing you want to do however is combine those channels into one feed and display the feed on your ...

Passing Data Between Forms – Using Delegates and Events

Back in an article I wrote in 2010 titled "Passing Data Between Forms in C# or VB.NET", I described one of a couple methods for passing data between two forms in a .NET forms project. One method was to publicly expose a method on a child form that the parent form could then call on when needed. At the same time I also mentioned, and advised against, using a public ...

A Game of Memory in VB.NET

One of the first projects that someone new to programming often wants to do is a game. Often times they want to do something they have seen on their consoles or mega computer games without realizing how much work actually goes into designing and implementing a game of that scope. After reading a book about programming they realize how tough those games are and that games of that scope usually ...

A Beginner Tic-Tac-Toe Class for Java

Around this time each year we mentors on Dream.In.Code see a bunch of students and beginners, attempting to do there final programming projects, come on the boards asking for help with coding problems. Some even come on asking for ideas to help them out and a large majority want help with simple games they can do like connect four, "the snake game" or even Tic-Tac-Toe. Then each year we throw ...

Counting Number Frequency in Java

Over the past couple weeks I have noticed a lot of students asking questions about counting number frequencies. The student is often generating, or asked to take in input, and count how many times a series of numbers appear in the data. Sometimes they are given a file for the input and other times they are asked to take in numbers entered by the user and count them. So I ...

PHP Wants To Be Your Web Language Of The Future – Part 6 – After 5.5

This is part 6 of a 6 part series looking at the some of the wonderful features of PHP 5.5 and why it might remain a dominate web language for the future. This series was originally written for the Software Developer’s Journal. Through this multi-part series we covered some of the great features that have made version 5.5 a solid branch of development. But where do we go from here? What ...