News for hackers. Stuff that matters.
Re:Hamlet – Simple and powerful reactive templating by Yahivin on Monday June 16, 2014 @03:14PM (#7900906)
When Observable is declared with a type (especially an array) it sets up some wrapped methods to simplify working with it.

The wrappers also set up automatic dependency resolution so you can do cool things like:

    list = Observable []

    reversed = Observable ->
      list.map reverse

    list.push 'blah'

    reversed() # => ['halb']
There's no polling, the observable notifies all observers immediately when the value changes.
Re:Hamlet – Simple and powerful reactive templating by bradgessler on Monday June 16, 2014 @03:57PM (#7901125)
What about simple types, like the `false` value example above? Is there a `set` and `get` method?
Re:Hamlet – Simple and powerful reactive templating by mdiebolt on Monday June 16, 2014 @04:02PM (#7901152)
You'd use a jQuery style setter.

  isOrange(false)