This blog is intended to follow my activities as I traipse my way through learning to be an adult. Hopefully this will encourage me to write more often for my family and friends and give me an outlet to talk about the things that mean something to me. All of the opinions in this blog are mine, unless otherwise stated and I welcome comments and critiques, as well as discussions. So lets make this a fun experiment.

Wednesday, January 23, 2013

Rails Lesson 1

Rails Lessons with Jayson


So as I've been learning Ruby on Rails I have encountered a few different ways of studying and learning to program. Learning Rails with my mentor Jayson allows me to ask questions from the inane through as advanced as I can imagine and get answers worth asking the questions. While this approach is pretty much the most difficult I can think of, I am learning things that I can't learn from books about programing and the career. I can also get very well thought out answers to questions I hardly knew how to ask. I can't even express how helpful and amazing this is for me, cogent answers!

Today was the second actual lesson though he has been tutoring me for a couple of months. I had a particularly bad experience last week with a coding study group and that stimulated a change of plans. To bridge the gap of my knowledge and to make learning more relevant to where I am he started developing lessons on his own to find my weaknesses and teach me the main points I was unable to find elsewhere, (example: learning Terminal, the Mac base program). While I am still studying Rails though books I am getting an advanced/supplementary education on the side as well. At the moment we are meeting x2 a week for long brain bending sessions of complete and utter world reorientation. 

Today was a redo of the last lesson for the problem set he made, for more practice and an advanced understanding of functions, expressions and classes as well as format for calling functions. Last week's lecture was on loops specifically "for" and "while". 
  • "For" is a loop that continues as long as there are objects to run through the loop and reacts as those objects are available. They come out in order. Most common type of loop.
  • "While" loops run as long as a condition is true and don't require an object. This is the most general type of loop. 
These can be mutated into one another, written as a different type of loop.

Today's lecture was on Expressions and types of Literal Expressions. I have notes of these for my notebook, making me very happy that I grabbed that new heavier paper and another pen this weekend.

Homework:
Come up with other methods for the Venue class and implement them within the class.







No comments:

Post a Comment