Bill MacKenty

  Home     Computing     Teaching     Bushcraft     Games     Writing     About  

Yea! I learned something that I actually used!

Posted in Computer Science Teaching Diary on 24 - March 2015 at 01:39 PM (8 years ago). 390 views.

I'm refershing my javascript skillset by going through a code academy course. Laborious, but helpful. Today, while supporting a co-worker on a powerschool customization, we were looking at a problem. I realized a variable was declared within a function but wasn't scoped to be used outside of the function (globally). Once fixed, we were running strong.

I just studied variable scope in my refresher course, and I'm grateful I did! As always, the wonderful stack exchange has a well-written piece about variable scope within javascript.

I suppose it is mildly depressing that I am excited about learning something that I can actually use. That must mean I normally learn things that are useless.