Subscribe to Journey Through Game Institute        RSS Feed
-----

Game Institute Lesson 3: Hubris

Icon Leave Comment
What can i say? I got cocky and received a firm kick in the bum in response. I roared through lesson 3 because it was functions and scoping. I've been working with Procedural languages for 5 years, this one surely would be simple for me.... well I thought so.

I DID learn that variables declared within blocks of code contained in loops or conditions only exist in that function/condition of code. In other languages, the scopes were generally global, scoped to objects, or scoped to functions. Granted, this little 'gotcha' shouldn't occur too often, how frequently do you need to declare a variable inside a loop/condition and then use it elsewhere?

I read the chapter in about 30 minutes and didn't even bother listening to the lecture. I hurried through the quiz.... and missed two questions. This is pretty bad for me, but it's not horrible. 2 questions equates to .4% of the final grade, making this a minuscule loss. It was an avoidable loss, and Game Institute has successfully reinstated my sense of humility. Well played Game Institute... well played.

0 Comments On This Entry

 

Trackbacks for this entry [ Trackback URL ]

There are no Trackbacks for this entry

December 2014

S M T W T F S
 123456
78910111213
14151617181920
21 222324252627
28293031   

Recent Entries

Recent Comments

Search My Blog

0 user(s) viewing

0 Guests
0 member(s)
0 anonymous member(s)