Code Hannah

Adventures in Learning Full Stack Web Development

JavaScript's for loop: A Retrospective

When I started learning JavaScript, ES6+ was already released, and I was initially pretty confused about the difference between the older style versus the ES6+ style. Once I started picking up the language, it became easier to recognize and appreciate how ES6 made many aspects of JavaScript not only more readable, but also easier to maintain. For this post, let’s take a closer look at the traditional versus the modern for loop.

Binding the Index in React

I haven’t been blogging lately because I’ve been solving programming problems for work now, and I’m not yet sure how to translate those to blog posts. With some time off for the holidays, I was fortunate enough to dive back into React. While I don’t use this particular library for work, I find building anything with JavaScript improves my overall frontend toolbox.

Flatiron Online Coding Bootcamp Experience

My goal here is to share my experience attending Flatiron’s Online Web Development Program from October 2017 to April 2018. A lot of people ask about this, so here is my long answer.

Git or Treat

Git gets a lot easier the more you just dig in and use it. There’s an inflection point on learning anything, where you can move on from just the basic fundamentals of understanding something to understanding something so well that you can start to think more creatively while using the new skill. Think of each commit as a a friendly ghost that you can conjure up to learn about the code’s past. Stay with me here.

TDD: Is it worth it? Let me work it.

Writing tests before you develop may help you write better code. I didn’t understand the full extent of the benefits of TDD until I actually wrote tests myself and then incrementally wrote code based on those tests. This post will share how I got started writing tests in Rails. I will walk you through getting started by creating a simple Rails API and then writing a test that determines whether or not requesting a specific resource will result in rendering the data you want.