javascript is evil - fronteers 2013 jam sessions

Post on 01-Dec-2014

1.990 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

as more and more people rely solely on javascript to build sites and pages, I tell people what is evil about javascript. Not the language itself, but seeing it as the only solution. see me give the talk over here: http://vimeo.com/77588600

TRANSCRIPT

JavaScript is evilWilfred Nas

Front end developer

JavaScript is

EvilWilfred Nas

JavaScript developer@wnas

When all you have is a hammer.

Semantics

<div aria-labelledby="tweet-box-mini-home-profile-label" id="tweet-box-mini-home-profile" class="tweet-box rich-editor notie" contenteditable="true" spellcheck="true" role="textbox" aria-multiline="true" dir="ltr" aria-autocomplete="list" aria-haspopup="true" aria-controls="typeahead-dropdown-7" ><div><br></div

<textarea></textarea>

UsersThat’s who you should think about...

Focus on the information

Not the presentation

Ceci n'est pas une pipe

<div id="userctrl_sticky_0" style="position: absolute; cursor: pointer; z-index: 40; left: 44px; top: 24px;"><div style="overflow:hidden;width:18px;height:18px;"><img id="userctrl_2" title="Schuif naar rechts" src="[pathto]/img.png" style="margin-left: -49px; margin-top: 0px;"></div></div>

<button id=”moveToTheLeft”>Go left</button>

Bad things without JavaScript

No navigation

Vanishing elements

Plain stupid!

Good things

No carousels

No cookie warnings

Be Lazy

Write less code

Be fast

Write less code

Be accessibl

eWrite less but smart code

Be simple

Write smart code

Be reusable

Just be smart

Make great thingsAnd think about your mothers...

any questions? @wnas

top related