My name is Mason Ellwood and I’m currently working on Flatiron School’s Online Full Stack Web Development Program. Each week, I’ll be writing about my experience, what I’m learning, and tips on learning to code.
When I started at Flatiron School, the last language I expected to start in was Ruby. Maybe it was different from my last approach to learning front-end development; which started out in design, HTML, CSS and then progressed from there as projects continued to progress in difficulty. But nope… Flatiron starts in Ruby.
When I sat through orientation, Avi touched on this, because I assume others had the same question.
He said basically, Ruby, as a programming language, is the simplest programming language to learn and the most fun to learn. A language where most keywords and values defined by the language closely resemble what the outcome will be, but dynamic enough to build and produce very powerful programs.
Developed by Yukihiro “Matz” Matsumoto in the mid-1990’s, with his motto MINASWAN, or Matz is nice and so we are nice. He set out to develop a dynamic object-oriented language that was simple to understand and fun to write.
“Make Ruby natural, not simple, in a way that mirrors life.” – Matz
“Ruby is simple in appearance, but I very complex inside, just like our human bodies.” – Matz
A program is just a file on your computer filled with text, but the text has special syntax we call code. The programming language you are using defines the syntax of the code you are allowed to write. Then your programs are converted to machine code so that your computer can understand it.
You will either use compiled or interpreted languages dependant on the language. Compiled programs will be converted to machine code which can then run the program, unlike interpreted programs which will be interpreted and converted at run time.
Flatiron School starts off the in an intro to Ruby course which progressively teaches you the skills to write your own program – Tic Tac Toe. Once you set up with your learn.co IDE program, which is supplied to you by the school, you are basically ready to begin! Make sure you have your Github set up prior to beginning this school. Built into the learn.co IDE program is a auto authentication of your ssh keys with your Git repo, so setup is incredibly easy.
In learn.co IDE’s built in terminal you can then begin your first Ruby program, first always check which version of Ruby you are currently working in using ruby -v.
Lastly, title all Ruby files with the extension of filename.rb, this tells the interpreter what syntax you are going to use you write your program.
Thank you for reading. Next post will cover debugging Ruby, reading error messages, what is a Rspec file and how to set it up, and how to assign variables.
from Web Design Ledger https://wdl.wpengine.com/journey-learning-programming-flatiron-school-2/