Premature optimization

Content:

Original link: Premature Optimization Is Bad, But Your App Is Just Slow Because You're Lazy / Dev.

I believe the code snippets are JavaScript, but the principles apply to all languages.

Comments: