Inline Anonymous Funcion Pattern

Code in this post can be obsolete, however, principles and theory may still apply.
Share on FacebookTweet about this on TwitterShare on LinkedInShare on Google+Pin on PinterestEmail this to someone
Follow me:

Saki

I'm a well seasoned developer, consultant and educator of web applications based mainly on Sencha libraries, PHP, MySQL and Node.js. Besides (Apple) computers, I love photography and mountain biking.
Follow me:

Latest posts by Saki (see all)

Comments

  1. says

    Sometimes you need to calculate result, e.g. while configuring a component, one of the options has to be “calculated”.

    Performance is not a point here.

  2. Jose Sousa says

    Hi,

    In your examples you have the line:

    Where i can find this file extjs.ico ?
    Please, can you send to me ?

    Beast regard´s,
    Jose Sousa

  3. Jose Sousa says

    Hi,

    In your examples you have the line:

    link rel=”shortcut icon” ref=”./img/extjs.ico”

    Where i can find this file extjs.ico ?
    Please, can you send to me ?

    Beast regard´s,
    Jose Sousa

  4. Andrew Liang says

    At first glance, the only advantage I see here is you can easily create a private function without polluting the global namespace. The main disadvantage is you can’t re-use the function.

We will be happy to hear back from you

Please Login to post a comment