Random thoughts about IT

Posts Tagged ‘OOP

Introduction to clean javascript design

with 3 comments

Despite all the efforts spent to replace it with something more decent (e.g. Flex, DartSilverlight,…), javascript is still today the language of choice for browser-side scripting. And given the huge spotlight that HTML5 is directing on the browser, it becomes again an extremely popular language.

Javascript is powerful and comes with a rich ecosystem. Its major problem though is a syntax so permissive that care is required in order to avoid ending up with a bunch of unmaintainable spaghetti code.

The purpose of this post is to present basic design tips which help keeping things clean and organized. I hope it to be useful for javascript developers struggling with code design or experienced designers struggling with javascript… Read the rest of this entry »


Written by Svend

January 4, 2012 at 10:04 pm