• Krunt (unregistered) in reply to chubertdev

    "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.

  • Insensitive Claude (unregistered)

    The drunken hillbilly is clearly the President's sick daughter having a fevered dream.

  • (cs) in reply to Krunt
    Krunt:
    "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.

    Ummm, yeah, it is. Syntax is what defines a language.

  • Zifnab (unregistered) in reply to chubertdev
    chubertdev:
    Krunt:
    "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.

    Ummm, yeah, it is. Syntax is what defines a language.

    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:

    var $, fakeJQuery;
    fakeJQuery = (function() {
      function fakeJQuery() {}
      fakeJQuery.prototype.ready = function(someFunc) {
        return someFunc();
      };
      return fakeJQuery;
    })();
    
    $ = function(val) {
      return new fakeJQuery();
    };
    
    // LOOK!  THIS WORKS WITHOUT THE jQUERY LIBRARY LOLOLOL
    $(document).ready(function(){
      console.log("some stuff goes here");
    });
    

    Are you telling me that I just made new syntax? This is javascript, stop being an idiot.

  • (cs)

    BITCHES BE CRAZY HATERS BE HATIN

  • (cs) in reply to Zifnab
    Zifnab:
    chubertdev:
    Krunt:
    "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.

    Ummm, yeah, it is. Syntax is what defines a language.

    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:

    var $, fakeJQuery;
    fakeJQuery = (function() {
      function fakeJQuery() {}
      fakeJQuery.prototype.ready = function(someFunc) {
        return someFunc();
      };
      return fakeJQuery;
    })();
    
    $ = function(val) {
      return new fakeJQuery();
    };
    
    // LOOK!  THIS WORKS WITHOUT THE jQUERY LIBRARY LOLOLOL
    $(document).ready(function(){
      console.log("some stuff goes here");
    });
    

    Are you telling me that I just made new syntax? This is javascript, stop being an idiot.

    syntax defined by the JavaScript.

    string JS = "<script type="text/javascript">alert('C# and JavaScript are also the same language!');</script>";

  • Freyday (unregistered) in reply to jarfil

    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.

  • Zifnab (unregistered) in reply to chubertdev
    chubertdev:

    syntax defined by the JavaScript.

    string JS = "<script type="text/javascript">alert('C# and JavaScript are also the same language!');</script>";

    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 :(

  • Krunt (unregistered) in reply to Zifnab
    Zifnab:
    chubertdev:

    syntax defined by the JavaScript.

    string JS = "<script type="text/javascript">alert('C# and JavaScript are also the same language!');</script>";

    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 :(

    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.

  • anonymous (unregistered) in reply to Zifnab
    Zifnab:
    chubertdev:

    syntax defined by the JavaScript.

    string JS = "<script type="text/javascript">alert('C# and JavaScript are also the same language!');</script>";

    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 :(

    Diarescript is also executable Javascript (if you include the function that parses it). Just saying!

  • urza9814 (unregistered) in reply to Todd Lewis
    Todd Lewis:
    Captcha:odio:
    I bet I could have won by making my own Befunge or Trefunge clone and claiming it as my own.
    Alas, you didn't, so you didn't. He did. That makes all the difference.

    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.

    As tempted as you might be to write a solution in Brainf**k or VAX Assembly, please don’t. It’ll just give us a headache and ruin your chances of winning.

    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.

  • AlgorithMan (unregistered) in reply to jarfil

    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...

Leave a comment on “OMGWTF2: The Beast of Burden”

Log In or post as a guest

Replying to comment #:

« Return to Article