Hacker News new | ask | show | jobs
by snitko 5834 days ago
unDRY code is a problem for me in JavaScript probably because I don't have too much experience. The point is: you can write DRY code in js, it's just not as easy as in Ruby. Also, here's an example: http://stackoverflow.com/questions/3077335/how-do-i-implemen...

I managed to find a better answer than it is suggested there, though.