A stupid mistake that I always make!

I’m not going to pretend I’m perfect, but I would class myself as a perfectionist, this does not detract from the fact that I am prone to making mistakes like everyone, everywhere, all the time.

It wasn’t all that long ago, about than 4 years to be accurate, I was a struggling freelance designer for hire who didn’t know the difference between atag and #header…if you aren’t a web developer, that won’t make much sense, just trust me it proves I knew almost nothing, but the amazing thing is…drum roll….I’ve learnt the difference and one hell of a lot more since then!

I still make mistakes, but they are mostly stupid ones now, if I’m not thinking straight. To make me sound less like an unprofessional disaster area, I’m going to tell you about my most common stupid mistake, I’m not sure if I should be ashamed that I still do this, or maybe by coming out about it, someone else will say, “I do that!” and it might make me feel a little better….

Michael’s favourite stupid mistake

Some of you will know this, some of you won’t, web coding, when using English words, rather than made up gibberish like this;

$(window).scroll(function(){
var scrollTop = 175;
if($(window).scrollTop() >= scrollTop){
$(‘#sticky_nav’).css({
display : ‘block’
});
}
if($(window).scrollTop() < scrollTop){
$(‘#sticky_nav’).removeAttr(‘style’);
}
})

…see gibberish, well it makes sense to me and anyone who can write javascript/jQuery…I’ve lost the point…here it comes…

Web coding when using English words rather than technical programming gibberish , is spelt using US English.

Lets say I’ve been working on a CSS file for a few hours, I am firmly entrenched in the mental state that colour is spelt “color”. If you’ve ever worked on a CSS file you will back me up, you have to type it rather frequently!

Why is this a problem? Keep your hair on and I’ll tell you.

Midway through coding, I have to stop and type a quick email to a client, I mention the COLOR of a site element and now I look like a doughnut who can’t spell. What’s that you are saying? Auto correct? Sure, auto correct will catch it, but now I’ve been thrown out of the loop of which colour/color to type!

Dive back into my code and type colour when it should be color! Now I’ve got an error, and it is an error that is almost impossible to spot! Don’t believe me? Did you get that email that went round a few years back that went something like this:

Did you konw taht yuor brian deosn’t hvae to raed enrite wrods to proescss a sentcne?

See! You can read that! Now imagine have a 2500 line long CSS file and spot an error as simple as the difference between a color and a colour.

So here it is…

My name is Michael, I am a web developer and I continually spell colour/color wrong.

If it makes you feel better I know the difference between your and you’re.

15. November 2013 by Michael Partridge
Categories: General, Personal | Leave a comment

Leave a Reply

Required fields are marked *