I understand what's happening but what I want to know is why. Because
I expect it work one way, and it works another. Therefore, if I can
understand the underlying concept, I won't assume a logical conclusion
that is incompatible with javascript (because there is surely a
difference in mental model between javascript and the other languages
I've used). I can and will study information and tutorials available
about javascript, BUT, I always try to do something useful with what
I'm learning early on, as I can retain it better. But useful stuff
often builds upon an complete understanding of the subject. The
problem with only reading the documentation or current tutorials is
the bleeding edge is always changing the paradigm. Don't you think
javascript programming is changing rapidly with the advent of html5?
(or rather, is javascript changing html?) Also I want to make
unobtrusive javascript code, but the tutorials and beginner
information is usually old and obtrusive examples. (the better stuff
is more conceptual and less likely to be demonstrated to a beginner
audience).
/rhetoric rant
Bottom line, what I'm asking is, I know the two work differently-- but
_why_. is this because of objects? I'm used to thinking that using a
variable is only a "shortcut", it just functions the same as the text
that it was defined with. (does that make sense?)
` newP = document.createElement("p");
Is newP a variable, an object, or both? Is this because it's a
different variable *type*?
Is this behavior part of object-oriented programming (my experience in
programming is limited to basc perl/cgi--therefore my understanding of
variables is different/limited)
I just want to conceptualize javascript code in the "correct" (or most
productive) mindset... And I want to apply javascript to what I
already understand. Does that clarify my intentions?? (sorry for
sounding overly zealous)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en
-~----------~----~----~----~------~----~------~--~---