For, While, and “Do… While” Loops

Programming can be pretty loopy sometimes, and there are a few different types of primary loops you will encounter. The two most common loops are “for” and “while”. There are a few different reasons why you would use a loop, and I think the most common reason is to work through an array index by… Continue reading For, While, and “Do… While” Loops

Programming Laptops

When I was in college I saw a lot of Computer Science majors with fancy gaming laptops running Windows. Not only were the laptops likely overkill for their applications, but Windows is a horrible environment for programming. For example, you can quickly get C/C++ support in Fedora Linux because GNU support is native on Linux.… Continue reading Programming Laptops

Characters, Strings, and Arrays

Previously I wrote about primitive data types, and I’d like to expand on that by covering strings and arrays. For me, the easiest way to think of a string is as an array of characters; An array is just a collection of items that consist of a specific data type. In general, every character is… Continue reading Characters, Strings, and Arrays

Object Orientated Class is in Session

Up until recently I had been building up to Object Orientated Classes. I briefly discussed variables and functions, the building blocks of a class. While my take is a little simple I like to think of classes as custom data structures all their own. They allow you to associate any set of attributes that you… Continue reading Object Orientated Class is in Session

Let’s talk Functions

I think two of the biggest things I struggled with learning programming was understanding functions. On the surface they seem simple enough, you stick something in and something comes out. However, a poorly written function can have strange behaviors. Not to mention it is not always easy to determine when a function requires a return… Continue reading Let’s talk Functions

Object Orientated Python Editor Update

My last post I had used a data structure to handle the words and their counts, but sorting that structure was messy. I played around with a few songs from a few major artists and bands, and found their song was typically between 374 and 601 words long. The few I dove deeper into generally… Continue reading Object Orientated Python Editor Update