So right now my code sucks - a lot of it is brute force and explicitly defining operations through things like lots of if/else statements with only some variable names changed. I'm not used to using loops, objects, collections, etc. And I know that this is bad.
Are there any good books on refactoring in object-oriented languages that can introduce me to some common refactoring patterns? I'm using Javascript predominantly.
Are there any good books on refactoring in object-oriented languages that can introduce me to some common refactoring patterns? I'm using Javascript predominantly.