Posts

Showing posts with the label Reinvent the wheel

Why You Re-invented The Wheel

Image
/via http://turnoff.us/geek/my-adorable-useless-code/ There probably are other reasons that you ended up re-inventing the wheel, but the most common ones are —  1.  You just didn’t know : Common in the early stages of one’s career, when the amount of stuff you don’t know that you don’t know is practically infinite. Or, to put it differently, you didn’t even know what you should be Googling for. 2.  You can’t be bothered to Google : This is particularly true of  #CowboyDevelopers , who have made  re-inventing the wheel into an art form . If they didn’t already know that something exists, then it a)  needs to be written from scratch, and b)  if they find an existing implementation, it’s clearly inferior (because  they  didn’t write it) 3.  It Evolved : You didn’t actually intend to re-write  slice() . You were, in fact, going somewhere quite different, e.g.  extract_nonce_from_entity() , but as the requirements evolved, so d...