Click here to Skip to main content
15,902,893 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: var RVIPath = RVIPath || {}; Pin
Richard MacCutchan23-Jul-12 5:41
mveRichard MacCutchan23-Jul-12 5:41 
GeneralRe: var RVIPath = RVIPath || {}; Pin
BobJanova23-Jul-12 5:54
BobJanova23-Jul-12 5:54 
GeneralRe: var RVIPath = RVIPath || {}; Pin
Richard MacCutchan23-Jul-12 7:06
mveRichard MacCutchan23-Jul-12 7:06 
GeneralRe: var RVIPath = RVIPath || {}; Pin
BobJanova23-Jul-12 23:25
BobJanova23-Jul-12 23:25 
GeneralRe: var RVIPath = RVIPath || {}; Pin
Richard MacCutchan23-Jul-12 23:42
mveRichard MacCutchan23-Jul-12 23:42 
GeneralRe: var RVIPath = RVIPath || {}; Pin
Andy Brummer9-Aug-12 10:38
sitebuilderAndy Brummer9-Aug-12 10:38 
GeneralRe: var RVIPath = RVIPath || {}; Pin
Richard MacCutchan9-Aug-12 22:23
mveRichard MacCutchan9-Aug-12 22:23 
GeneralRe: var RVIPath = RVIPath || {}; Pin
Andy Brummer10-Aug-12 5:03
sitebuilderAndy Brummer10-Aug-12 5:03 
Funny, it must be one of my handicaps from learning C++ before C. I think the vogue at the time was to avoid shortcuts like that and avoid shortcuts like if (!x) for pointers.

Richard MacCutchan wrote:
I don't find Javascript that different, syntactically, from C or Java.


Once I got into the details of it, the common syntax made things more complicated for me than if it was more foreign. When I read javascript now every time I see x != null instead of !x or x !== null, I immediately leap to the conclusion that the author is still thinking that everything works like C# and there are probably subtle bugs lurking in the code. Using the full on javascript style is a message to my future self that the code was written when I better understood the way javascript works.

Curvature of the Mind now with 3D


AnswerRe: var RVIPath = RVIPath || {}; Pin
J4amieC23-Jul-12 5:13
J4amieC23-Jul-12 5:13 
QuestionI get "ReferenceError:'myreq' is undefined" error for <textarea> variable? Pin
creative2619-Jul-12 7:09
creative2619-Jul-12 7:09 
AnswerRe: I get "ReferenceError:'myreq' is undefined" error for variable? Pin
jkirkerx19-Jul-12 8:42
professionaljkirkerx19-Jul-12 8:42 
AnswerRe: I get "ReferenceError:'myreq' is undefined" error for variable? Pin
enhzflep22-Jul-12 19:51
enhzflep22-Jul-12 19:51 
GeneralRe: I get "ReferenceError:'myreq' is undefined" error for variable? Pin
Peter_in_278022-Jul-12 20:07
professionalPeter_in_278022-Jul-12 20:07 
GeneralRe: I get "ReferenceError:'myreq' is undefined" error for variable? Pin
enhzflep22-Jul-12 20:19
enhzflep22-Jul-12 20:19 
GeneralRe: I get "ReferenceError:'myreq' is undefined" error for variable? Pin
Peter_in_278022-Jul-12 20:30
professionalPeter_in_278022-Jul-12 20:30 
GeneralRe: I get "ReferenceError:'myreq' is undefined" error for variable? Pin
enhzflep22-Jul-12 20:39
enhzflep22-Jul-12 20:39 
GeneralRe: I get "ReferenceError:'myreq' is undefined" error for variable? Pin
Peter_in_278022-Jul-12 20:55
professionalPeter_in_278022-Jul-12 20:55 
GeneralRe: I get "ReferenceError:'myreq' is undefined" error for variable? Pin
enhzflep24-Jul-12 7:28
enhzflep24-Jul-12 7:28 
GeneralRe: I get "ReferenceError:'myreq' is undefined" error for variable? Pin
Peter_in_278024-Jul-12 13:20
professionalPeter_in_278024-Jul-12 13:20 
GeneralRe: I get "ReferenceError:'myreq' is undefined" error for variable? Pin
enhzflep24-Jul-12 19:06
enhzflep24-Jul-12 19:06 
GeneralStop a page moving upwards Pin
offroaderdan18-Jul-12 23:24
offroaderdan18-Jul-12 23:24 
GeneralRe: Stop a page moving upwards Pin
jkirkerx19-Jul-12 8:36
professionaljkirkerx19-Jul-12 8:36 
QuestionHow to develop Smart TV Apps? Pin
prithveesh.goel17-Jul-12 0:22
prithveesh.goel17-Jul-12 0:22 
QuestionRe: How to develop Smart TV Apps? Pin
markovl17-Jul-12 0:36
markovl17-Jul-12 0:36 
AnswerRe: How to develop Smart TV Apps? Pin
prithveesh.goel17-Jul-12 20:56
prithveesh.goel17-Jul-12 20:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.