Better HN
topnewbestaskshowjobs
Log inSign up

nullobject

260 karma · joined May 16, 2012 (14y ago) · 43 submissions

Hello. I'm a software developer living in Byron Bay, Australia.
Submissions

31.

Make It Rein(joshbassett.info ↗)

1 points · by nullobject · 9y ago · discuss

32.

Clean Up Your Acceptance Tests with Mâché(joshbassett.info ↗)

1 points · by nullobject · 9y ago · discuss

33.

How a single word sparked a four-year saga of climate denier backlash(theconversation.com ↗)

5 points · by nullobject · 10y ago · discuss

34.

JavaScript Developers: Take Your Code to the Next Level with FKit(joshbassett.info ↗)

16 points · by nullobject · 12y ago · discuss

comment 12y ago · link · parent

Thanks moberemk. I'm trying to take what lodash/underscore started to the next logical step with FKit.

36.

FKit: Everyday Functional Programming in JavaScript(github.com ↗)

13 points · by nullobject · 12y ago · 2 comments

comment 12y ago · link · parent

You're mostly right.

The console var is assigned the result of an immediately-invoked anonymous function (http://benalman.com/news/2010/11/immediately-invoked-functio...).

The result of this function is an object which contains the console functions (log, warn, error, etc). Moreover, these functions only exist inside the scope of the anonymous function, so the only way to access them is through the returned object. This prevents the global namespace from being polluted.

So when you call console.log('hello'), you're applying one of those functions in the object returned by the anonymous function.

comment 12y ago · link · parent

Thanks, hope you find it useful.

39.

Rewiring the JavaScript Console in CodePen(joshbassett.info ↗)

4 points · by nullobject · 12y ago · 5 comments

40.

Reactive UIs with React and Bacon(joshbassett.info ↗)

75 points · by nullobject · 12y ago · 55 comments

comment 13y ago · link · parent

Nice, it's a shame this isn't supported in the GitHub web interface.

comment 13y ago · link · parent

The course material is still available, although you'll need to sign up for a Coursera account. It also looks like they're running another course in March 2013.

https://class.coursera.org/progfun-2012-001/class/index

43.

Hello Haskell, Goodbye Scala(joshbassett.info ↗)

100 points · by nullobject · 13y ago · 116 comments

12