1. 13
  1.  

  2. 4

    I have developed a few handy rules of thumb…..

    1) Never write a sort… (It’s damn hard to beat the system sort…. so why would you?)

    2) Never write code that pretends to be a halfarsed text editor…. Just invoke a Real Oe.

    3) Never try bend a language into a language it isn’t. It hurts and is so nice when you stop. If your base language sucks, don’t do insane things like C metaprogramming… just get yourself a decent language.

    1. 2

      If your base language sucks, don’t do insane things like C metaprogramming… just get yourself a decent language.

      I think a better way to phrase this would be “If your language does is not suited for metaprogramming, don’t use it for that.”, because there are plenty of languages that don’t suck but still shouldn’t be used for everything. Don’t use a fork to eat soup.