Added: 4 months ago
From: nettutsplus
Views: 7,652
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (18)

Sign In or Sign Up now to post a comment!
  • @ScruffFluff I fucking hope it never is...

  • @ScruffFluff no, it *literally* isn't....

  • @TheProgrammer93 When is a word a word?

  • 'Performant' isn't a word BTW...

  • @TheProgrammer93 Google definitions say its a French word...

  • Good video but I've never had a performance issue with the module pattern. It maybe slower, but I've written huge applications with the module pattern and I've never had a problem with performance.

  • @RobertWHurst I didn't say the module pattern was bad or undesirable...

  • @jwmcpeak The module pattern is when you create a function that represents a class that returns an object containing references to functions within the class function. Aren't you stating that this is an anti pattern?

    Let be clarify, I don't think your wrong, I like you video, but I don't think that because browser developers think closure is less important than prototype performance, doesn't mean I'm going to use prototypes unless the performance difference is noticeable without a benchmark.

  • @RobertWHurst Typical module patterns are one-shot executions; they execute once (usually at load time) and then return a helpful object. Rarely are those builder functions executed again.

    What I address in the video are outer functions that are repeatedly executed. So if a particular module is executed many times within the page's lifespan, then yes, probably so. But then again, modules are extremely helpful, so it could be argued that it's worth the resource cost.

  • @jwmcpeak Ah I see what you mean. My apologies.

  • @RobertWHurst No apology necessary. I should have been clear on that point, which I neglected to do. My apologies to you.

  • wow, firstly I'm really impressed that I see visual studio in nettuts video :) . anti pattern, KISS ! Thanks for this tutorial, it's simple but very useful :)

  • @Nxqd3051990 Nice spam there.

    Great vid.

  • wow, firstly I'm really impressed that I see visual studio in nettuts video :) . anti pattern, KISS !

  • wow, firstly I'm really impressed that I see visual studio in nettuts video :) . KISS !

  • wow, firstly I'm really impressed that I see visual studio in nettuts video :)

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more