Joined March 2012
·
Posted to
Ignoring the First Element When Looping an Array in CoffeeScript
over 1 year
ago
@chorvus thanks a lot for that.
Posted to
Avoiding nested asynchronous calls in JS
over 1 year
ago
This pattern is called deferred and promises.
Not to mention, there is a whole class of different methods to solving the callback hell problem that everyone is talking about.
An alternative library is async.js. However, it doesn't handle asynchronous calls via promises.
Another one is the Q library. This one uses promises just like jQuery. If you mix Q with async, you can get elegant asynchronous calls.
Posted to
Deleting a Backbone Model Without Sending a DELETE Request
over 1 year
ago
@nono: that's definitely a good option.
Posted to
Don't overuse $(this)
over 1 year
ago
This applies to everything that involves repetition. It's called the DRY (Don't Repeat Yourself) principle.
Achievements
502 Karma
33,866 Total ProTip Views

24PullRequests Participant
Sent at least one pull request during the first 24 days of December 2013

Komodo Dragon
Have at least one original repo where Java is the dominant language

24PullRequests Participant
Sent at least one pull request during the first 24 days of December 2012

Philanthropist
Truly improve developer quality of life by sharing at least 50 individual open source projects

Mongoose
Have at least one original repo where Ruby is the dominant language

Honey Badger 3
Have at least three Node.js specific repos

T-Rex
Have at least one original repo where C is the dominant language

Cub
Have at least one original jQuery or Prototype open source repo

Forked
Have a project valued enough to be forked by someone else

Altruist
Increase developer well-being by sharing at least 20 open source projects

Python
Would you expect anything less? Have at least one original repo where Python is the dominant language

Charity
Fork and commit to someone's open source project in need

Kona
Have at least one original repo where CoffeeScript is the dominant language

Nephila Komaci
Have at least one original repos where PHP is the dominant language

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Honey Badger
Have at least one original Node.js-specific repo

Lab
Have at least one original repo where C# is the dominant language

Raven
Have at least one original repo where some form of shell script is the dominant language
@oak-tree thanks for that.