44

I just rewrote a linq-2sql query which cut the execution time down from 17 minutes to 20 seconds! I felt like a genius for all of five seconds, until I realised it was me who had written the original query... Now I don't know if I'm an idiot or a genius...

Comments
  • 3
    Haha! I've been there!
  • 3
    that's the thing about programming. you are always learning new and hopefully more efficient methods. call your old self an idiot and now you can classify yourself a genius 😁 haha good job !
  • 0
    You still using linq to SQL? Wasn't it discontinued years ago?
  • 0
    @benhongh
    old project running old code, still in production and not enough money for big rewrites. I see us running Ling2sql for the foreseeable future in this project. In other words, plenty of opportunities for me to to feel like a genius/idiot :)
  • 2
    Definitely not an idiot, you're improving 😄 It feels great to optimize something you've made before 👍🏻
  • 1
    My least favorite developer is me minus 6 months
  • 1
    a refactor genius 😁
  • 0
    U were an idiot if u wouldn't have optimised 😊.
Add Comment