101 reputation
1
bio website blog.serindu.com
location Livermore, CA
age
visits member for 1 year, 10 months
seen Oct 15 at 16:35

Software Developer for Lawrence Livermore National Laboratory.

Current areas of focus: Grails, Groovy, HTML, CSS, JavaScript, jQuery, jQuery-UI, Backbone, AJAX, Google Earth API

Some hobby work on Wordpress, Bootstrap, Django, Python, Apache config


Sep
24
awarded  Autobiographer
May
13
comment Why the recent shift to removing/omitting semicolons from Javascript?
Clarifying point: the return example is actually an exception to the normal JS behavior which is to attempt to pull lines together when a semi-colon is omitted. return, break, and continue all exhibit this exceptional behavior in which a trailing newline is always interpreted as an end of statement. (Source is Flanagan's "JavaScript: The Definitive Guide" pp25-26). Personally, I strive for the idea of "code of least surprise." Leaving semi-colons out tends to result in more surprises than anything (I generally also keep my curly braces even for simple statements).