Grey Vaal under attack

Introduction

For our final project to complete the foundations year curriculum at Holberton School we were given a tight schedule and loose regulation. We were told to go out into the world with our recently acquired tools and build something, almost anything. …

Illustrative flowchart of our recursive function

Our main function isn’t happy until our y value equals 0. To evaluate this condition it runs through a series of if statements that, if triggered, will modify the value of y, adding or subtracting accordingly. Our function is called over and over again until it is satisfied. Eventually our function calls itself again a last time, having reached the final value of x = 0 and y = 0, it can finally rest.

Assuming you’re already somewhat familiar with the Python programming language I’m sure you’ve heard it referred to as “object-oriented”, today we will be taking a deep dive into what exactly that means. To simplify let’s break it down into a series of topics: what even is an “object”? What are…

What are they?

Programmers are lazy. They go through great lengths to automate and streamline the tedious everyday tasks that, when repeated over and over again, take up an increasing amount of time and keystrokes. One of the things programmers use the most are functions. C has a handy little trick up it’s…

What happens when you type gcc main.c?

Source

GCC, short for GNU compiler collection, is a compilation program that takes your high-level (human language) code and translates it into low-level machine code (binary). It consists primarily of 4 individual modules:

  • Preprocessor — removes any comments and translates macros (if any) into code
  • Compiler — translates the code into…

Gabriel Vazquez

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store