Skip to content

Instantly share code, notes, and snippets.

@robertpenner
Created October 20, 2011 04:17
Show Gist options
  • Select an option

  • Save robertpenner/1300404 to your computer and use it in GitHub Desktop.

Select an option

Save robertpenner/1300404 to your computer and use it in GitHub Desktop.

Revisions

  1. Robert Penner revised this gist Oct 20, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion All the Singletons.txt
    Original file line number Diff line number Diff line change
    @@ -6,4 +6,4 @@ All the Singletons, all the Singletons
    If you liked it then you shoulda put an instance on it
    If you liked it then you shoulda made it global static
    Don't be mad once you see you can't unit test it
    If you liked it then you shoulda made a singleton
    If you liked it then you shoulda made a Singleton
  2. Robert Penner created this gist Oct 20, 2011.
    9 changes: 9 additions & 0 deletions All the Singletons.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    All the Singletons, all the Singletons
    All the Singletons, all the Singletons
    All the Singletons, all the Singletons
    All the Singletons, all the Singletons

    If you liked it then you shoulda put an instance on it
    If you liked it then you shoulda made it global static
    Don't be mad once you see you can't unit test it
    If you liked it then you shoulda made a singleton