Life is too short …

tooshortrs

  1. Life is too short to waste time planning how to code well. Just write code; the best you can. (And learn how to improve it.)
  2. Life is too short to waste time writing tests before any single stupid method.
  3. Life is too short for not testing any relevant code you may have.
  4. Life is too short for mocking the HTTP context in order to test controllers–use worker services and don’t test controllers.
  5. Life is too short to make sense of Objective C. Go with MonoTouch for any iOS development.
  6. Life is too short to convince people that Responsive Web Design alone is useful only in simple portals and demos.
  7. Life is too short to learn how to write good JavaScript code.
  8. Life is too short to code HTML5 via Modernizr: make a choice!
  9. Life is too short: give us another Windows!
  10. Life is too short to write asynchronous code in C#.
  11. Life is too short for not using async in C# (cit. Ross Dargan)
  12. Life is too short to wait on a background thread.
  13. Life is too short to deal with Apple or wait for Windows Phone: just pick up Android and use IntelliJ!
  14. Life is too short to explain why an anemic domain model (EF-like) is poor: just don’t use it.
  15. Life is too short to parse user agent strings yourself.

4 comments on “Life is too short …

  1. Hey Ross,
    with async is better but I’m an old-fashioned guy and regret the old good times of plain sync code 😀

  2. Nice list. Sensible. I especially like the pragmatic instead of dogmatic approach to unit testing. Laughed at #5. Cried at #13 (Windows Phone) – though deep down I know you’re right! As for #14 – no idea what it means, but looks like a good topic for more reading.

  3. #5 – Objective C – I remember that at University, it was more painful than having my wisdom teeth taken out… That syntax is rather bizarre and more suited to a class creator meta-tool than an actual programming language.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s