Wednesday, May 27, 2015

Just Right For Me

You're doing it wrong.

OMG. I can't believe you still use jQuery.

You'd be stupid to use Angular.

OOCSS is horrible for building websites! It leads to classitis!

Or, you know… maybe it doesn't really matter.

I can be opinionated about how I build things. I have tools and approaches that I prefer over others. I willingly (and hopefully not forcefully) share those opinions.

I even wrote a book that encompasses a bunch of those opinions. And in said book I shared a thought that I still believe very much:

When it comes to web development, the answer to most questions is "it depends".

The right way to build a web site is one that works. Yes, we all want the most maintainable, most delightful, most consumable, most quick website ever. It works on watches, phones, tablets, phablets, desktops, and billboards. Everybody knocks down your door because you know how to design and build web sites better than everybody else.

Or you come to realize that, like in life, it's about tradeoffs. You don't have all the time in the world and you need to ship this by Friday. Maybe using the latest JavaScript framework makes it harder to find and onboard new developers because nobody knows it. Maybe you like a particular CSS naming convention but the rest of the company disagrees. Maybe the nice web fonts are impacting performance.

You weigh the pros and cons. And at the end of the day, you compromise. You can't predict the future. You can't know what your needs will be in a month or a year and build the perfect web site that will easily scale to meet those needs.

Rebuild. Refactor. Redesign. Realign.

Build stuff and find the right way for you. Chances are, the right way for you will be different in a year. I once complained that CSS animations shouldn't exist and now I think they're they cats pyjamas.

I build things that are just right for me.

But if you ever use a clearfix the wrong way, I'll kick you in the shins.

Здесь можно оставить свои комментарии. Выпуск подготовленплагином wordpress для

No comments:

Post a Comment