02 Feb 2022 I decided to *ahem* dive into the ancient holy relic (among corporate programmers) that is called “Clean Code”. Below is an unfiltered recounting of my dangerous opinions on the matter. Proceed with caution.
Intro
Bob Martin starts off with a lengthy discussion about what “clean code” is. In this lengthy discussion he doesn’t discuss any verifiable metrics that can determine whether a piece of code is “cleaner” than another piece of code. Instead he...
07 Oct 2021 If you have ever written a document, read a book, made a PowerPoint presentation, built a website, or worked with text in general, then you have used font rasterization. Font rasterization is the process of converting a vector description to a raster or bitmap description. In other words, font rasterization is converting mathematical formulas to pixels on the screen you are using. We use this process everyday when we use our phones, but have you...
16 Apr 2020 A feature that almost every game has and uses is a camera. But how is a camera represented in game code? In this blog post I will explain how cameras work in OpenGL, and provide a simple explanation with some visuals of how you can set up a camera.
Cameras in Game Development
Once again, cameras are commonly used in game development to let the player “view” the scene. There are two main types...
01 Dec 2019 I wanted to set up a dedicated Terraria server to run in the background of my Windows 10 PC, but there were no good tutorials out there. I stumbled my way through several different bits and pieces I found on the Internet, til I achieved this. Here is how I did it.
What We Will Be Building
In this tutorial, I will go over how to set up a dedicated Terraria server to run...
21 Sep 2018 Have you ever taught yourself how to do something? If you have, then you know how hard it is to continue to motivate yourself. When you are in school, you have teachers that take up homework and give you a bad grade if you don’t finish on time. When you are working, you have a boss that gives you a deadline and will make your life miserable if you keep missing that deadline! But, when...
10 Apr 2018 Intro
There are many different types of communities in the world. Sometimes, concepts can get lost in translation when two communities are speaking to each other. These communities can be Computer Science professionals, teachers, firefighters, etc. Each one of these has their own distinct terminologies that can only be understood within the context of that community. So, I have put together a list of terms native to the Computer Science industry.
I will prefix...
05 Jan 2018 Intro
In my previous article I went over how to program a list in Java. A list is a commonly used data structure for an unknown amount of data that will need to be used. You can find the previous article here. If you haven’t already read it and gone through it I would highly recommend reading that article before you continue with this one. So, as mentioned in the previous article the...
03 Jan 2018 Intro
This article is going to be a very in depth example of how to code a list in Java. A list is a data structure that holds a number of items that you can access in constant time. The advantage of a list in comparison to an array is that a list expands or shrinks as needed, so there is no need to know the number of elements in advance. This is helpful...
02 Jan 2018 Intro
Recursion can be a very tricky concept to master, but it is so helpful in many different ways. In this article I will show you how to code a recursive binary search function. The binary search is an amazing search algorithm that searches for a number or an item in a list of those items and finds it in log(n) time. Normally, to find an item in an array you would need to...