A notch above a monkey

We got a winner...

Quirksmode blog has announced the winner of addEvent competition. Announcement was immediately followed by a lively discussion and it seems javascript community is not persuaded. Neither am I.

I’m not happy with the code I’m using right now and I was hoping to replace it with the winner. However, I do believe there are real problems with winning entry, so I won’t be using it quite yet.

When to use degradable Javascript

Justin Palmer wrote about myths of Javascript degradation and Jeremy Keith has written a response. This is just the lastest, but certainly not last exchange on this topic and I think we’ll continue to talk about it for some time to come.

I think I find myself somewhere in the middle. Part of our service follows Jeremy’s school of thought and part of it is firmly on Justin’s side. I think Jeremy’s argument that the problem is due lack of planning is just wrong. I spent literally months contemplating and trying different things before I finally accepted that not everything can be done in nicely degradable manner without making sacrifices.

Or to use a misplaced example. You can start with a bicycle that more or less everyone can use and try to add features, that will enable it to go faster and with less physical strain, but you’ll never produce a Ducati . At most you’ll finish with something like:

Electric bicycle
I’m not saying electric bike is bad. In fact it has many features that Ducati will never have. They are just different and what’s better depends on what you want and who you want to serve.

I believe the same applies to Javascript degradation. You have to decide what you’re building and for whom. When developing our service, I probably haven’t thought about anything more than this issue and the choices I made were certainly not done lightly. I did discover a simple question, that often makes such decisions easier:

“Would anyone ever want to bookmark this?”

If yes, then degradable javascript is the only acceptable solution. If no, then there MIGHT be a case for non-degradable solution, but it certainly doesn’t immediately justify it.

Kje pa tebe ?evelj ?uli?

Zaradi praznikov bomo decembra imeli samo tri spletne urice in razmišljal sem, da bi na zadnjem sre??anju, 21. decembra, poskusili nekaj novega.

Cilj uric ni nuditi le zanimiva predavanja, ampak ustvariti prostor, kjer se spletni ustvarjalci lahko sre??amo in družimo. Zato bi leto lahko zaklju??ili s serijo kratkih predavanj pod naslovom “Kje pa tebe ??evelj žuli?” (KPT?Ž).

Potrebni in zadostni pogoji za vklju??itev predavanja:

  • tema ima vsaj opazno povezavo s spletom
  • ne traja dlje kot 10 minut

Vse ostalo je prepuš??eno vam.

Vsa mnenja so dobrodošla, še posebej pa predlogi predavanj (prosim navedite pri??akovano dolžino predstavitve). ?e vam ni vše?? naslov, predlagajte novega. Nove predloge za naslov sre??anja zbiram v komentarjih, predloge za predavanja pa lahko pošljete TUDI na moj elektronski naslov .

Rok za oddajo idej je 1. november. KPT?Ž bo, ??e bom takrat imel vsaj za 45 minut predstavitev in ne bo o??itnega upora sami ideji. V nasprotnem primeru bomo leto zaklju??ili kot ponavadi; z odli??nim predavateljem in debato, ki ponavadi sledi predavanjem.