- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
"That's not Javascript, it's jQuery!"
"That's not C++, it's MFC!"
"That's not C#, it's Linq!"
"That's no moon..."
Different syntax != different language.
Admin
The drunken hillbilly is clearly the President's sick daughter having a fevered dream.
Admin
Ummm, yeah, it is. Syntax is what defines a language.
Admin
Are you retarded? It IS Javascript.
jQuery is just a library written in javascript, IT'S NOT A NEW SYNTAX, AND IT'S NOT A NEW LANGUAGE.
This is javascript, no jquery required:
Are you telling me that I just made new syntax? This is javascript, stop being an idiot.
Admin
BITCHES BE CRAZY HATERS BE HATIN
Admin
syntax defined by the JavaScript.
string JS = "<script type="text/javascript">alert('C# and JavaScript are also the same language!');</script>";
Admin
I can do the THAT operator one better. In Axe, various operators don't actually read their values from their operands, but instead from the HL register. (it's for a z80-powered calculator) This includes the store operator, which is a right arrow, indicating left-to-right assignment. This means that in Axe, it's actually an optimization to do nonsense like this:
If A →B*6→A Else →C End This is just the beginning of the optimization insanity, by the way.
Admin
Um... what? You just defined a string, what's your point? Your C# is not going to be able to execute that string as javascript without giving it to the browser or sending it to a JS runtime like node.
My code was executable javascript. jQuery is not a language, it's a library to give a common API to functions that are already provided by javascript. It's written in javascript, it's executable only by a javascript runtime, and you use javascript to interact with it's API.
All jQuery is javascript, but not all javascript is jQuery. Just as all chihuahuas are dogs, but not all dogs are chihuahuas.
I know you're just trolling and I'm sorry i keep feeding you :(
Admin
I may be wrong, but I think he's actually agreeing with us. If not, he's at least unwittingly proving our point...
The very fact that the line of javascript he posted could (almost) be parsed and compiled successfully by the C# compiler proves the point - syntax doesn't define the language; i.e. that code may be (almost) valid C# but it still doesn't change the fact that it's javascript.
Admin
Admin
Well, I think the OP was complaining that the rules quite clearly say not to submit stuff in some obscure language -- which this entry did, and won anyway.
However, if I'm interpreting OP's complaint right, I also think he's wrong because this entry seems to include its own interpreter for this language -- so it's really just input data to the application rather than application code.
Admin
Actually, THAT (heh) is a terrible idea, because using THAT, you can much too easily break your code by a simple thing like adding a variable at the wrong place (something, which is that innocent, really shouldn't break your code)
what you want could as well be achieved by VAR01 = NULL VAR2 = VAR01 etc. but without the additional risk...