The 10 commandaments for a (Ruby) developer
1. DRY: Don’t repeat yourself. DRY is usually the easiest principle to understand, but it is quite harder to apply. It means that when finding similar code in two or more places, we should abstract them into a new method and change the previous code fragments so they will now call the new method with …
Leggi tutto »