• Journal of an Explorer

    Lexical scoping

    • 2 Comments
    I was planning to post a write up on closures in javascript but it made sense to first introduce you to concept of lexical scoping (or static scoping). In JavaScript, functions have lexical scope. This means that functions create their environment (scope...
  • Journal of an Explorer

    Closures ??

    • 2 Comments
    A disclaimer first: This post will make sense to you only if you have read and understood my post on lexical scoping in JavaScript . And if you have read my post then i don’t have much to explain here. Now, since JavaScript is lexically scoped, the following...
  • Journal of an Explorer

    C#:Linq :: Javascript:Jquery

    • 2 Comments
    Almost a year back, i had to write my first module using JQuery. Within days of using it, i fell in love with the library. And it wasn’t because of the numerous features that it offers but the lean and intuitive APIs  that it exposes. Till then i...
  • Journal of an Explorer

    JavaScript and performance : Function rewriting

    • 1 Comments
    The dynamic nature of JavaScript makes it fascinating. The fact that function can be created as well as modified at runtime is one of the amazing stuff you can do in JavaScript unlike in static languages like Java and C#. Consider an example of function...
  • Journal of an Explorer

    Internet and Simplicity

    • 1 Comments
    I was talking to a friend of mine who had recently moved from years of developing windows application to a project which is a complete web app. 10 minutes into discussion and i could clearly comprehend his frustration. He was full of complaints with development...
  • Journal of an Explorer

    Chain of Responsibility pattern

    • 0 Comments
    One of the popular design pattern documented by Gang of Four is the Chain of Responsibility pattern. The Chain of Responsibility pattern allows decoupling between objects by passing a request from one object to the next in a chain until the request is...
Page 1 of 1 (6 items)