Long story short, recursive functions are functions that call themselves.
To give you a stack view of recursion we will take a look at the following function:

float _pow_recursion(float x, float y)
{
if (y == 0)
return (1)…

Introduction

Python is an object oriented programing (Sometimes shortened to OOP) language. An object is a collection of data (usually called variables) and the methods (or functions) that work on the object. …


One of the more common programming adage is “never code the same thing twice”. …


In one of my previous posts we took a look at what happens when you enter ls *.c into a shell prompt. Since then I have had the pleasure of coding my own mini shell and now posses a better understanding of what happens when entering shell commands and so…


is

As you may know, computers store everything in memory in the form of 1s and 0s. This might raise the question then how does a computer know if the number it has stored is a positive or a negative number. The answer is a system called Two’s Complement. …


One of the greatest challenges and joys of learning how to program is being able to take another person’s code and walk through figuring out what it does and how it does it; however, this can be difficult when the code is poorly written. So what happens when you try…


You might be familiar with the term library. In the non programming world its a place where you can find and check out books, and in the modern day even access computers or use wifi to access the internet from your own device. Programming languages have a similar system where…


Pretty much anyone that has used a computer knows what an executable is. It comes in many forms, performs many different tasks, and sometimes it ends in “.exe”, but have you ever wondered how how an executable is made? In the simplest terms, a programmer writes some code, puts it…


Often in computer programming, a single file will be referred to as different names, called links. When talking in terms of Bash (our Unix shell/language) there are two types of links, hard links and symbolic links (also known as soft links). While both types have similar functions, there are several…


If you have ever worked with a Linux system you should be familiar with the ls command, it is how you know what you are working with within a given directory (typically your current working directory); however, if you have never done anything Linux related before than a command such…

Selidex Parnell

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