We’ll implement a BST and go over some helpful definitions and descriptions

A “Binary Search Tree” or “BST” is a certain type of “binary tree” and a binary tree is just a data structure that has one root node which point to a collection of child nodes. …


A quick setup guide

Rubocop uses the official ruby style guide and helps curate a clean and readable codebase. The rails extension of rubocop that we’ll be using similarly uses the official rails style guide.

Rubocop docs: https://rubocop.readthedocs.io/en/latest/

According to the docs, rubocop is a few things:

  • It’s a code…


The algorithm that you cannot escape!

1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ...

The Fibonacci sequence is characterized as a sequence of numbers where every number after the first two (1 and 1) is the sum of the two preceding numbers. …


A quick overview of lexical scoping, simulating private methods and common pitfalls surrounding closures.

What is a closure?

First let’s take a look at the MDN docs definition:

A closure is the combination of a function bundled together (enclosed) with references to its surrounding state (the lexical environment). In other words, a closure gives you access to an outer function’s scope from an inner function. …


a quick look at making JavaScript’s `this` keyword more user friendly

Someone once told me that Java is to JavaScript as Ham is to Hamburger. Well my friends, the this keyword and it’s behavior in both languages certainly lends some merit to that argument. Most modern programming languages like Java have some version of a class and within those classes the…


Several different technologies power the self-driving cars of today. Digital cameras might seem like the obvious choice to the lay-person, however there are a handful of technologies which sound a bit more futuristic and a handful that sound out-dated; both are used and both could surprise you. …


I’m currently coding largely in JavaScript and felt it necessary to tackle one of the hardest code challenges that I’ve come across recently. This problem makes use of recursion — a sometimes intimidating process for me. Let’s get into it y’all!

Visualization of the merge-sort concept

Merge Sort is an efficient, comparison-based sorting algorithm. Merge…


A quick slurp through their history

When you picture a straw in your head you might be inclined to conjure up an image of a red and white bendy plastic tube about 0.24" wide in diameter and about 8.5" long.

Having flashbacks of greasy fast-food and childhood perhaps?

But straws now-a-days vary widely — you could get a straw made of stainless steel…


What are some pros and cons of these two different back-end solutions?

Refresher

First let’s start with a reminder as to what a “back-end” even is. In short, the back-end is everything that user doesn’t directly see — in MVC architecture terms: your “models and controllers.” A good rule of thumb is that the “front-end” is any component that gets altered or interacted…


Where did they come from? Where are they going?

Self driving cars, autonomous cars, driverless cars — whatever you wanna call them, are quickly making their way into our everyday lives. These vehicles are capable of using GPS, LIDAR, powerful computers and cameras to sense our environment and navigate our motorways without any of our biased human input. When…

Ren Burnett

!!

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