Friday, June 1, 2012

Interesting comparison of what's important

I've been working on the code highlighting and stuff for FTP On The Go and ViewSRC, and was using the code from various websites to test.

A fascinating comparison of what is important to different companies that you can do on your own computer:  go to google.com, and right click the background of the page and pick the "View Page Source" or similar menu item.  Everything squished down and unreadable by a person.


Same thing for facebook.com and many others.

Then try Apple.com.


I'm sure internally Google and the rest are all formatted for humans, but are stripped of returns and spaces when sent out to the world to save a few bytes of bandwidth.  But Apple instead sends those few extra bytes, so for anybody who looks, even the code of their website looks beautiful.  Now that's attention to detail.

No comments: