Jump to content

Talk:Module pattern

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Rathfelder (talk | contribs) at 23:19, 18 March 2016 (removed Category:Module pattern in JavaScript using HotCat). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconComputing Unassessed
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
???This article has not yet received a rating on Wikipedia's content assessment scale.
???This article has not yet received a rating on the project's importance scale.
Note icon
This article has been marked as needing an infobox.

The Introduction

what is introduction

Module Pattern, JavaScript

The example looks like it was written by a Java programmer (which I was). It doesn't look like JavaScript.

It needs to be replaced. I don't have time at the moment.

There are good reasons NOT to use the common JavaScript idiom for this pattern. They should be discussed. — Preceding unsigned comment added by MartinRinehart (talkcontribs) 09:44, 23 November 2012 (UTC)[reply]

I completely agree with the above. This whole article is pretty poorly put together but the Javascript Module Pattern referrers to the use of closures to emulate public and private methods. Should referrence several different authors on this (Douglas Crockford, Eric Meyer, Chris Heilman, Tim Huegdon etc.).

I'll try to update this later. Andrew Phillipo — Preceding unsigned comment added by 31.221.41.210 (talk) 11:27, 4 February 2013 (UTC)[reply]

Disturbing content percentage

It seems like most of this article's length is just code examples. Is there any way that the code examples could be modified to make them shorter? Alternatively, would it look bad if we put the code examples in expandable boxes? APerson (talk!) 23:28, 26 July 2013 (UTC)[reply]