logoalt Hacker News

dasherswyesterday at 10:33 AM2 repliesview on HN

The bindings in Gea work just like in JavaScript. Two-way if an object is passed, one-way if a primitive is passed. I think it's best to stick to the idioms of the underlying language.


Replies

anamexisyesterday at 7:22 PM

I don’t know if I’d call it an idiom — rather I’d argue that in modern JavaScript, mutating passed objects is often an anti-pattern.

show 1 reply
wetpawsyesterday at 7:22 PM

[dead]