Passing Variables by Reference and Value

I recently covered soft and hard links in Linux, and figured it would be a good idea to follow up with passing variables into functions by reference and value. Every variable is assigned a memory address, just like files in Linux. Just like linking those files in Linux, you can do two different things with… Continue reading Passing Variables by Reference and Value

Reading Data from CSV Files and MySQL Queries

I used to read a lot of doom and gloom from the Data Science community on working with dirty databases instead of clean CSV files. Generally I agree with criticism toward how academia handles programming content, but this isn’t a hill to die on at all. On the surface the two seem significantly different because… Continue reading Reading Data from CSV Files and MySQL Queries

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

OOP: Inheritance

One of the main benefits of using Object Orientated Programming is the class feature. I like to think of class objects as a convenient container I can optimize for the situation. For example, in the context of data science you may have several variables you want to keep together or interact with one another. Sometimes… Continue reading OOP: Inheritance