Created
June 1, 2010 02:33
-
-
Save jherdman/420494 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// In Crockford-JS, I'd do something like this... | |
var myFunction = function (args) { | |
var foo | |
, bar | |
, baz; | |
// function body... | |
} | |
// But I see this in the Obj-J tutorials... | |
- (Foo)myFunction:(Bar)arg | |
{ | |
var foo = ...; | |
// do stuff with foo | |
var bar = ...; | |
// etc. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment