Joined July 2012

Héliton Nordt

Web Developer at
Web Developer

Posted to Infographic on Node.js over 1 year ago

Can Node kill Ruby for new web apps?

You are right lautarodragan, it's called DRY principle.

I think I expressed myself wrong, what I meant is that in some cases the Copy & Paste is useful, not necessarily to copy all the code.

For example, if you have declared averybigvar it's best to copy & paste to avoid typo like avrybigvar.

(PS: I've updated my tip)

Posted to Pretty Print over 1 year ago

Amazing tip!

Posted to Chaining methods in PHP over 1 year ago


I think it worth noting that for JavaScript it works the same way:

(dahm it, indentation don't works in comments)

function setEmail(email)
     return this;

Aslo for CoffeeScript:

setEmail = (email) ->
1,195 Karma
161,609 Total ProTip Views