Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Since when did javascript become a "language"? Is it even Turing complete? I thought the word "script" meant "scripting language" which is NOT the same thing as a full fledged language. If indeed javascript is the most popular "language" then God or Turing help us all.


The perfect troll is the one where you're laughing so hard that you can't decide whether to ignore it, rebut it, downmod it, congratulate the author for writing something so perfectly ironic, or preserve it in a zoo so that future generations will know that such things once walked the earth.


LOL, I suppose Lisp is not Turing complete either. JavaScript happens to be one of the most elegant languages (sans the DOM and browser stuff that is tightly coupled with the language)


You use the word elegant like it's an objective statement, which it is not.

I would disagree about it being elegant. It's a fine language, but it has no unifying concept. It's procedural, it has anonymous functions, it has simple OO built-in. This isn't really elegance because you can't go anywhere uncharted with this. The simplicity is there because there isn't much built-in. Code is not data. There is no module system. There is no generalized flow control. (I am not sure why language designers like manually implementing function calls / return, exceptions, loop/break/continue, etc. when continuations generalize all of this.)

Anyway, JavaScript is useful, but it is a limited subset of nearly every other language. This may be good, but where features are missing, everyone has their own incompatible "fix" for that. That may or may not be elegance; I'm not sure.


"... Since when did javascript become a "language"? Is it even Turing complete? ..."

You're right.

What self respecting Startup would bother with such an obviously deficient language? It's just not up to the job. Just keep using your Turing complete C/C++, Java (or insert your own favourite Turing complete language) and everything will be alright.


Javascript is good enough for your blog.


of course it's turing complete. the bar for that is very low.


Indeed, you only need one instruction to be turing complete. Subtract and branch if negative is turing complete: http://en.wikipedia.org/wiki/One_instruction_set_computer.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: