Many employers want developers who have experience with Cloud Native Computing. As a junior developer, I currently have no experience with Cloud Native Computing. Thus, here is an overview of what Cloud Native is and what it entails.
“Cloud Native” is an approach to building and running applications that takes advantage of the cloud computing delivery model. In development, it utilizes cloud computing to build and run scalable applications in modern, dynamic environments such as private, public, and hybrid clouds. It’s about how applications are created/deployed as opposed to where. Cloud native applications live in the “Cloud” vs. data centers.
Functional Programming is the process of building software by composing pure functions, avoiding shared state, mutable data, and side-effects. In more simple jargon, functional programming is when you can pass functions as parameters to other functions and also return them as values. …
Let’s start with .slice(). The .slice() method copies a part of an array and returns the part that was copied as a new array. It keeps the original array intact.
array.slice(start index, end index);
Lets say you have an array:
Back in March of 2020, I got laid off from my Sales Job in luxury retail due to COVID-19. Since graduating college back in 2015, I had been studying to either try to get into medical or physician assistant school. After many gap years of working in the hospital and taking the MCAT (twice), I decided that I was getting older and medical/PA school wasn’t a good of an option for me. Knowing that I love creating things, my parents and friends suggested that I should check out software engineering if medical school doesn’t work out.
The thought of shifting gears into a different field of study was scary to me. I had poured countless years of studying and experience into the medical route, and forfeiting those years seemed like a waste. However, I learned many life lessons during those years, and I wouldn’t be who I am today without going through those things. After coming to terms with my shift in careers, I applied to Flatiron School Coding Bootcamp and shifted full throttle into studying code! …
When I first heard about event bubbling, I had understood the gist of it but not enough to use it in practice. Event bubbling is the order in which event handlers are called when one element is nested inside a second element, and both of these elements have a registered listener for the same event(e.g. a click event).
Event propagation is a blanket term for both event bubbling and event capturing. Consider an example of clickable…
The browser can trigger many different types of events on the DOM(Document Object Model). The full list of all DOM event types are located here: MDN. For this blog, I’ll go over some of the more frequently used DOM events, explain what the event does, and how each one is used.
Here are some of the most common event types and event names:
Touch events are triggered on touch-enabled devices such as smartphones, tablets, and touch-screen laptops. Mouse events are triggered on the majority of all browsers and devices. The MouseEvent interface represents events that occur due to the user interacting with a pointing device. …
Big O notation is a simplified analysis of an algorithm’s efficiency. Big O notation gives us an algorithm’s complexity in terms of input size, N. It gives us a way to abstract the efficiency of our algorithm or code from the machines/computers they run on. We don’t care how powerful our machine is, but rather, the basic steps of the code. We can use big O to analyze both time and space. I will go over how we can use Big O to measure time complexity using Ruby for examples.
Types of measurement
There are a couple of ways to look at an algorithm’s efficiency. We can examine worst-case, best-case, and average-case. When we examine big O notation, we typically look at the worst-case. This isn’t to say the other cases aren’t as important. …
While using enumerable methods in Ruby, there was a helpful shorthand syntax I came across while practicing coding challenges.
As a beginner, I had first thought the ampersand colon syntax was an operator. I come to find out that the ampersand colon was a hack that first started out in ActiveSupport that become an official feature in Ruby code.
When the “&” is added to the beginning of a method argument, it calls on the to_proc on its operand and passes it in as a block. If you are like me, I had no idea what that meant at first. …