Learning Javascirpt has been an experience of understanding programming in general. Seeing the difference between Javascript and ruby has allowed me to see what goes into creating a language and how each language is necessary for its own specific purpose. I am enjoying the challenge that javascript presents. The murkiness of the inner workings of javascript will keep me on my toes for many months (or years) to come. The seemingly irrational behavior at some points is intriguing, when someone creates a language I doubt that they are creating certain behaviors just to mess with the programmer so I’m curious as to why certain outcomes (especially in coercion) happen. What purpose was supposed to be fulfilled by sometimes illogical outcomes. Its like a giant murder mystery, and somewhere in the code is the killer.
Ive found lexical scoping to be pretty intuitive which makes things easier to assimilate right off the bat. Since functions are the only thing that create local scope, the rules of knowing where you a