Absolutely. Also, always use "var" in your variable declarations. I can't count how many times a scope issue bit me in the ass b/c of a missing "var"
Poll: Semicolons in JavaScript
41–44 of 44 posts
Re: Poll: Semicolons in JavaScript
#42Mind your own business! It's none of your business how I choose to code my own projects. If we're on the same project together, we can discuss it and decide on a style that works for everyone. When I contribute to an OpenSource project, I adopt whatever style they have defined. For my own projects, I have personally opted out of using unnecessary semicolons and brackets unless they improve maintainability or readabil…
Re: Poll: Semicolons in JavaScript
#43Mind your own business! It's none of your business how I choose to code my own projects. If we're on the same project together, we can discuss it and decide on a style that works for everyone. When I contribute to an OpenSource project, I adopt whatever style they have defined. For my own projects, I have personally opted out of using unnecessary semicolons and brackets unless they improve maintainability or readabil…
You were down-voted because of your tone, which came across as very rude; certainly an undesirable characteristic of posters.
Re: Poll: Semicolons in JavaScript
#44Earlier quoted context omitted.
Parenscript; the happy amalgamation of Common Lisp and JavaScript, in your server or your browser. http://common-lisp.net/project/parenscript/ People are writing Node.js code in it :-) http://tryparenscript.com/ It reminds me of an old Scheme dialect, implemented in Common Lisp, and was used to implement the Yale Haskell compiler (by Sandra Loosemore[1], et al.); it's just one of those baroque language towers that yo…
To plug my own project, I've also been developing a lisp dialect that compiles to JavaScript. I plan to announce on HN when the docs are complete. It's fully self-hosting, runs in the browser, and comes with a repl/compiler that runs on node. http://github.com/jbr/sibilant http://sibilantjs.info/