Olsen Creative strategic design Contact Blog Case Studies Process Portfolio Home

Tuesday, June 23, 2009

The Humanization of Computers and The Code They Speak With

I'm an artist. A graphic artist. I only build websites because that's where my industry is focused. I'm thus forced into the world of programming. (So I'm a programmer? Eeeww!) This is the main source of my career frustration - being an artist at heart but creating through the writing of code. Just a little counter-intuitive.

Here's an amusing anecdote from something that happened to me yesterday:

The challenge was to create a "BUY" link button by having a red rectangle with white type inside. Rather than delve into detail, let's just say that I found the place in the style sheet where I could write in "rectangle=red, type=white". (It was black with white type originally, so all I had to do was write in "red" where the word "black" was. EASY switch!)

Then I went back to my word "BUY" and framed it with the code that would tell it how to act. Essentially, [red button] BUY [/red button].

No go. No red button no matter what I did. It stayed the original black. VERY frustrating! Just another WTF Moment in the life of an artist-turned-programmer. I tried every kind of troubleshooting I could think of, and then went to Google to search for the problem. That takes a while when you don't know exactly where the problem is. But I'll get to the point.

THE FIX:
I had to insert the snippet "!important" into the line of the style sheet - and BINGO, it worked.

!important ??? What are some of the alternatives? !whenever-you-have-time ?? Or !if-its-not-too-much-trouble ?? Or !you-better-or-I'll-kick-your-ass ??

This PROVES that Computers have Evolved! You can't just make a simple change and have it accept it without question. You have to let it know that the change is !important for it to take effect.

Those of you who think that computer programming is some cut and dry, boring, unimaginative, pocket-protecting head space, let me tell you - you are mistaken. It requires a certain level of tact and understanding. Like any relationship.

Perhaps next time I should try " !please " ...

1 comment:

Anonymous said...

the reason i quit programing is becuase it felt so good to stop beating my head against the wall.

Jim Blankenship