When I lock the door when I leave the house, I am not "prematurely optimizing" against burglaries. The lock is there, I just have to turn it. I'm expending a minimal amount of effort for a comparatively large payoff. When I spend 10,000$ on an alarm system to protect my 50$ stereo...that's prematurely optimizing.
Most of the stuff I'm talking about is the default. There are a million and one tools to handle this stuff for you...there's a couple switches to flip in your server config, etc. It's not like you have to go out of the way to do these things, you almost have to go out of the way not to.
I mean, this is a pretty simple page...and it has a loading screen that takes a couple seconds? Maybe implementing some of these best practices could take care of that.
Little effort, good payoff.
>I also find it to be very inelegant.
HTTP requests cost. Putting the images together and then selecting them with CSS is a very elegant solution to that problem IMHO. It's also very simple to do.
You're entitled to your opinion of course.
Anyway, if you want to impress a prospective employer, I think it's a good idea to try and impress instead of just doing the absolute minimum. (not saying that Loren didn't impress or slacked off..this thing is beautiful looking and well written, but I mean hypothetically if I was doing something like this I'd want to know I did the best possible job for the effort spent)
Or - to extend your metaphor - if Loren was applying to work at a physical security firm, he'd be better off saying, "I'm a security nut, so much so that I installed an amazing security system at my house, with lasers and a shark-pit and whatnot," than if he just said, "I regularly lock the door at my house."
Sure, the lasers and shark-pit might be overkill for any normal home's security needs, but if they're being used as evidence of talent in the field where you're looking for work, their purpose isn't to be practical for your everyday needs, but to demonstrate applicable skills.
Most of the stuff I'm talking about is the default. There are a million and one tools to handle this stuff for you...there's a couple switches to flip in your server config, etc. It's not like you have to go out of the way to do these things, you almost have to go out of the way not to.
I mean, this is a pretty simple page...and it has a loading screen that takes a couple seconds? Maybe implementing some of these best practices could take care of that.
Little effort, good payoff.
>I also find it to be very inelegant.
HTTP requests cost. Putting the images together and then selecting them with CSS is a very elegant solution to that problem IMHO. It's also very simple to do.
You're entitled to your opinion of course.
Anyway, if you want to impress a prospective employer, I think it's a good idea to try and impress instead of just doing the absolute minimum. (not saying that Loren didn't impress or slacked off..this thing is beautiful looking and well written, but I mean hypothetically if I was doing something like this I'd want to know I did the best possible job for the effort spent)