Re: who came up with JavaScript language syntax?



netscape came up with javascript and its syntax.

its case sensitive because c/c++, perl, python, the unix file system, to
name a few are case sensitive. javascript is the lisp engine with a c like
syntax, and i believe a very simple and easy, but powerfull syntax which
includes associative arrays, dynamic object properties, llamada functions,
closure (all stuff c# doesn't get to version 4.0 - well actually c# 4.0 has
incomplete closure support- probably version 5.0 required). whats so hard
about being case sensitive?

it only flaw is the use of === (exact equals) in case statements.

the asp.net 2.0 support of callbacks, and the next releases support of AJAX
makes javascript more important.

html is a simple implementation of SGML gramar, and as a markup langauage is
pretty simple. the w3c browser dom is basically the xml dom, which was
designed to be easy to use from javascript.

note xhtml unlike html is case senstive.

-- bruce (sqlwork.com)


"Rob R. Ainscough" <robains@xxxxxxxxxxx> wrote in message
news:%23mGV%23F8GGHA.2064@xxxxxxxxxxxxxxxxxxxxxxx
> What sick saddistic person came up with the JavaScript language syntax?
> And was it the same person (or group of people) that came up with the HTML
> syntax??
>
> OMG, has no one noticed this hopeless poor choice of language syntax? And
> why-o-why is it case sensitive? Is it just a carry over from light weight
> parsers? If we can't get out of this nightmare because of compatibility
> sake -- where and how is this going to progress to a point of efficiency
> in the development cycle?
>
> Does ASP.NET 2.0 remove the need for JavaScript ?
>


.



Relevant Pages

  • Re: Little Help with JavaScript
    ... Richard Cornford wrote: ... structure is a valid JSON object data but it is not JavaScript syntax ... syntax error. ...
    (comp.lang.javascript)
  • Re: Little Help with JavaScript
    ... There are plenty of constructs that "syntax ... literal but put it in an arguments list and you have a syntax error. ... - is still a subset of javascript syntax regardless ... and they are forbidden from starting with an opening brace. ...
    (comp.lang.javascript)
  • Re: [PHP] Javascript question
    ... I deleted already, the problem is in your html, not your javascript. ... The syntax for selects is: ... I hope you wasn't trying to spam me:) ...
    (php.general)
  • Re: How to run the JavaScript if above version?
    ... I thought it was JavaScript 1.8 that just shipped with Firefox ... I'm not quite sure how that avoids syntax errors. ... features of the language that are in JavaScript 1.9. ... in browsers missing JavaScript 1.9 support. ...
    (comp.lang.javascript)
  • Re: Writing a plug in to get the path of the song playing
    ... In what - the player or the media server for a chosen client? ... The player has a Media object property for this, SourceURL, which you ... Probably you'd modify that (it's javascript syntax) for use in VB. ...
    (microsoft.public.windowsmedia.sdk)

Quantcast