-3
votes
0answers
66 views

Boolean || optimization [migrated]

I'm just trying to optimize some code (From a beginners stand point). I have options passed into a function and I want to determine whether a variable is defined in the options object and set it ... ...
0
votes
1answer
110 views

Licensing: source code vs. production code in JavaScript

For commercial and licensing purposes, what is the correct wording for differentiating JavaScript source code (written by the programmer and including comments) from the minified version used in ...
8
votes
2answers
5k views

How do you change how intellij auto formats code?

IntelliJ does some odd formatting with Javascript code and I am trying to figure out how to get it to stop formatting this way. Whenever I chain jQuery functions together, it over indents the auto ...
4
votes
5answers
478 views

View Source - is the Viewable markup important to you?

I just read a very compelling blog post from Scott Hanselman where he quoted colleague Erik Meijer as follows: JavaScript is an assembly language. The JavaScript + HTML generate is like a .NET ...
2
votes
2answers
342 views

Looking for quality sites built with JavaScript (not jQuery) to learn from their example

I'm new to JavaScript. I've read JavaScript: The Good Parts and half of Professional JavaScript for Web Developers. Now I want to follow this advice - find the best sites and look at their code. As ...
5
votes
6answers
334 views

Does my JavaScript look big in this?

As programmers, you have certain curtains to hide behind with your code. With PHP all of your code is server side preprocessed, so this never see's the light of day as far as the user is concerned. If ...