Bringing It Together

A couple of lessons today bringing together all that we’ve learned so far in Module 2.

I followed the first lesson through the full 30-minutes like a walkthrough. I always feel that typing (or writing in the traditional sense) what you’re going through helps it stay in the mind for longer.

The initial challenge was to incorporate images into the list, using the JSON notation we explored before.

Having done that, I tried to get ahead of myself to find a way to iterate through the array of “pizza toppings”. It should have been easier than it was, and it is pretty easy in the end (as the second lesson of the day showed), except that it turns out there are some looping/iteration methods that don’t play well with displaying elements in the view. So you have to use specific ones – in this instance “ForEach”.

I find it odd that most computer languages that we code resemble something that someone cooked up for their own benefit and then just unleashed it on the world saying “see if you can figure it out”. With a relatively “new” language, you’d have thought they would make it simpler to understand and learn. As it is, despite the similarity with other popular coding languages, I still feel that coding was at its most understandable back in the days of BASIC in the early 80s. I guess that’s why it was called “BASIC”.