My Daily Coding Blog

January

January 31 2017

The Odin Project-Blog Post 3

January 30 2017

Week 3 - Course 1 Wrap-Up

Test Driven Development Ruby “Project”

I hesitate to call this assignment a project because, although it is on my GitHub, it wasn’t necessarily building or creating anything. However, it was a great lesson in TDD and some valuable practice with the Ruby language. The tasks started off simple, quickly gained complexity, and a few I had such a hard time figuring out that I peeked at other student solutions for help. But all in all, it was another positive experience, and I look forward to working with Ruby further in the next section.

Ruby on Rails Blog App

The next, and final, project in the Web Development 101 course was a blog app using Ruby on Rails. Unlike the other projects where TOP gave us no help at all, this assignment was following a tutorial step for step. Yet somehow it still proved difficult. I’m chalking that up to the level of inexperience I have with the Rails framework and building an app from scratch. Everything that this project had us do was so new and complex that I’m both intimidated and excited for what the rest of the curriculum has in store. Throughout the instructions on the site, it kept reassuring the reader (me) not to worry about having no clue what’s happening because later in our learning this will all seem simple. Right now, I can’t imagine that, but the idea of that feeling is so empowering, and it is motivating me to keep going.

Everything Else

Aside from those two projects, there were an assortment of readings and videos to wrap up the course. Among them, I learned a bit about databases (SQL), and how relational databases would come in handy for my app. There were a few readings on the difference between the Cloud and Software as a Service. I skimmed the sections on Security and licenses, FTP basics, and some interesting posts on principles of good programming.

Looking ahead to this week: it looks like I will be taking a deeper dive into the Ruby programming language and possibly building some portfolio-level projects.

January 26-28 2017

January 25 2017

January 23-24 2017

The Odin Project-Blog Post 2

January 23 2017

Week 2 - Etch-a-Sketch and Learning Ruby

Etch-a-Sketch

I began week 2 applying my jQuery/JavaScript to a neat little etch-a-sketch project. It was the first time in my learning that I was able to combine code with markup, and the sense of achievement I felt when I got it to work was even more rewarding than the google page. The hardest part for me was actually generating the grid via code without any HTML or CSS. The trick was a 2-dimensional loop, followed by stylizing each div square with jQuery by dividing the height and width of the whole grid by the size of the div square that was passed into the loop (link to the code below). The other functions were pretty straightforward thanks to the magic of jQuery. My code can be found here GitHub.

Like I mentioned last week, the merit in TOP is in its projects, and I find myself constantly checking to see how close I am to the next one. It’s what motivates me to spend hours everyday reading, watching videos, completing tutorials, or whatever it takes to get to the next project. Luckily, they're sprinkled in the curriculum in between every few sections.

Learning Ruby

Thus, I knew I had two more sections before the next one. So I set to work at learning my first new programming language since the summer - Ruby. This entailed completing the entire Ruby track on Codecademy, which took much longer than expected, and two days of following tutorials normally would have sapped whatever momentum I picked up from the etch-a-sketch project.

However, learning Ruby fueled a different fire for me. While it is a back end language unlike JavaScript, and much of the syntax is dissimilar, the general rules and ideas are essentially the same. There are strings, arithmetic operations, arrays, objects (called hashes), and functions (called methods). The loops are where I had and continue to have a little bit of trouble because of how different the syntax is and how many types there are. But overall, it seems to be a much more human-friendly and beginner-friendly programming language because of how it reads like English. So far, and I know it’s still early, I think I enjoy coding in Ruby more than I’ve enjoyed JavaScript. Let’s hope that continues.

Currently, I am working on the first Ruby project which is a combination of Ruby and the RSpec testing framework. Look for that in the week 3 post.

January 20-22 2017

January 19 2017

January 18 2017

January 17 2017

The Odin Project-Blog Post 1

January 16 2017

Week 1 - “Energy may be likened to the bending of a crossbow; decision, to the releasing of the trigger.”

About five months ago I began teaching myself to code in hopes of a career as a front end developer. When I started, I thought if I put in several hours everyday and followed a study guide with tutorials, I’d be on my way to employable in around half a year. By the time the holidays hit, however, reality set in. I had finished up my path, lost my way, and knew I needed something more. The fundamentals were like second nature, but I needed the next step. I extensively researched coding bootcamps. They seemed to be a 0-100 course of action. Not to mention tuition costs close to $20,000 and none in my area of the country. I was more on the hunt for something that would give me a taste of what a real developer does and help me build a portfolio. Considering where I was in my learning, and where I am geographically, I decided a bootcamp might not be the best option. I asked around on reddit and my thoughts were confirmed. One of those reddit threads led me to The Odin Project.

My only experience with TOP (which I will from here on out refer to it as) up to that point was at the beginning of my journey. I remember hearing about it, giving it a cursory glance, and thinking that it was beyond my level of comprehension. Returning to it after a few months of studying, however, seemed like perfect timing. It is a projects-based, bootcamp style curriculum created by alumni of App Academy. And the best part is it’s free! So with renewed vigor, I began a new journey, and will be chronicling it weekly here.

Conquering My Fear of the Command Line

I love that TOP begins with a course on the command line, because through all of my studying, it is the one thing I knew was absolutely essential but was always afraid of tackling. No other study guide I’ve followed has provided adequate command line material until this one. The first section teaches you how to navigate your computer’s file system, create directories and files, make copies of and remove those files. This leads right into the next section which is on Git and GitHub. Now that I am finally competent using the command line and Git, I’m starting to feel like an actual coder.

Devtools and the Front End

The subcategory following Git is the Front End. These are tools and languages that I am familiar with and have been studying since the summer, so while I was able to traverse this section rather quickly, the real value was in the projects. The first project of TOP is to redo the Google homepage using HTML and CSS. Simple enough. But the fact that it is not a tutorial and no one is holding your hand along the way is what makes it special. You are forced to put what you know into practice and the frustration of creating a webpage pays off in the end with a huge confidence boost. GitHub

The second project is to build an etch-a-sketch tool using JavaScript and jQuery, which I will be getting to at the beginning of week 2.

January 14 2017

January 13 2017

January 12 2017

Januray 11 2017

January 10 2017

January 9 2017

January 5 2017

Today was one of the days where I worked for seven or eight hours, but I feel like I barely accomplished anything. I can attribute this feeling to three reasons:

  1. I had a hard time grasping the design patterns I studied.
  2. I spent over an hour trying to hack a CodeWars problem but eventually had to unlock the solutions.
  3. I spent the majority of my evening grinding my teeth and trying to get the index page of the blog right - unfinished business.
However, I did research The Firehose Project, an online coding bootcamp that looks like a could be a viable option moving forward.

January 4 2017

January 3 2017