Joao Carlos

Joao Carlos, that's me!

Hello!

I'm Joao Carlos, an iOS and Ruby developer currently living with my wife in Helsinki, Finland. I can make some pretty neat apps and I write about what I learn on the way. More about me »



Automatic binding of this in Backbone.js

Having to bind the value of this manually in Backbone.js is not only tedious but can also result in frustration after forgetting to add a function name to the list.

And that's why many people extend Backbone.js with a autoBind function that automatically binds all functions. However, if you always want the auto bind functionality, why not take it a step further and have this behavior by default?

Continue reading »