24

I like how I transitioned from learning Java to Javascript because I thought they were related in sone way.

When my teacher first introduced Javascript, he told us this is NOT your grandfather's javascript. Next thing he told us was 'What is this?' My seatmate and I looked at each other perplexed. My teacher once again said 'What IS this?'. It turns out we needed to first learn about the context of 'this' -_-

That moment when you discover Java was a lie o_o

Comments
  • 11
    I would have replied 'this' is the biggest bitch in javascript
  • 4
    @jckimble also completely unnecessary to use; most developers and libraries favour a more functional approach. I think Mongoose instance methods are the only case I use 'this'
  • 0
    I'll just leave "this" here
Add Comment