4 ms·
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 eas
by snitko 16y 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-implement-a-before-filter-callback-in-javascript http://stackoverflow.com/questions/3077335/how-do-i-implemen...
I managed to find a better answer than it is suggested there, though.