Patience, Young Grasshopper

Learning and Living the Dream

Abstraction for Legibility and Adaptation

An important concept around variables and methods is the idea of using abstraction when writing code. Abstraction in writing code allows for creating a legible interface when reading and modifying code. It’s like condensing code to its purest form, minimizing repetitions by using class readers. The Advanced Class Methods lesson explains that the lowest level of abstraction is simply calling a variable in order to expose data. A more refined way to do so its to call on a class itself using #self. The example given was using #self.all to read the contents of an array as opposed to calling the class variable @@all directly. By using the former instead of the latter, if the name of the class variable needs to change, you only need to go to one place to do so.

Website Playground

As a beginner, its good to check out websites that you really like the layout of and imitate them. And so by going to your favorite website and playing around with it through the inspect option, you can change the logo image or font style, while becoming more familiar with the terminology and the structure of the HTML and CSS files that make up the site itself.

Working Together

For this lesson, I worked through most of it with another learn student through the chat box.

Learning for the Future

There’s an ever-increasing desire in the field of architecture to become more efficient, like a robot. Time is money and time is precious, so I can understand the rush to integrate technology into every aspect of the architectural design and construction process.