— docker whale — docker whale

As a developer there is nothing more frustrating than not being able to properly run an application that you download from a friend or coworker because you don’t have a necessary component that the application requires. In comes a container to save the day.

Docker Containers, what are they? They are a piece of software that contains the ability to access these 5 important parts of an application: code, runtime, system tools, system libraries and settings. They are all held in one lightweight package called a “dockerfile”. …

Anyone who has ever written or read code in Ruby knows that looking over the file it is not at all uncommon to never see a single use of () on any function or method call. Additionally, the use of {} can be almost exclusively seen when assigning a variable to a hash literal.

hash1 = {:a => 1, :b => 2}

Why is that the case though? If parentheses and curly braces aren’t used how will we know what our code is supposed to do? Where are the delineations between what is a variable and what is a method…

JavaScript has strict rules about what operations happen, and in what order. This allows programmers to write instructions which the computer can follow and produce repeatable results. What happens when the computer doesn’t know how much time a certain operation will take? Will the computer just stop and wait for it to happen? Sometimes, yes. What about those times when we want the computer to something else while it is caught up doing something very intensive? JavaScript gives us this power through asynchronous code.

Because JavaScript is a single threaded language it can only do one thing at a time…

Most websites work by using the request and response cycle.

The cycle has two sides, a client side, and a server side. The client side is typically on an internet browser interacting with a webpage. That webpage is sending requests through the browser on the client’s computer over the internet. The request travels until it hits the server, which will then process the request and send back an appropriate response.

In order for the request to actually make it to the server it needs to know where it is going. …

Javascript Higher Order Functions

Functional programming languages need the ability to pass data through one function and into another. By treating functions as objects, JavaScript allows you to move that data around and through functions to do work. The two factors that make a JavaScript function “higher order” is either returning a function definition, or having one of the parameters of the function be another function that will then be invoked when the first function is called.

Lots of technical terms there and a good place to look is here:

The gist is that functions, just like any other “type” in JavaScript are data, and have the ability to act on data. As Yazeed says in his article, “pretty meta”.

Michael Iacono

Studying to become a software engineer

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