397 karma · joined Mar 2, 2014 (12y ago) · 220 submissions
comment 12y ago · link · parent
Javascript does not define the implementation details. It does not have to be interpreted, and in fact I don't believe any modern implementation is interpreted. Javascript is generally compiled to byte code which is then run in a VM, or native machine code (V8 at least does this). There is no reason javascript could not have a static type system, there are statically typed scripting languages. It is dynamically typed by deliberate decision, not "we can't do it any other way".
comment 12y ago · link · parent
Why would that happen? Ignorantly bashing haskell strawmen is pretty common here. Btw, while you hit two of the biggest ones, you did forget to complain about it being "academic" and thus unusable for "real world" programming. That should be pretty much standard by now.
comment 12y ago · link · parent
We don't expect that. We expect them to recognize that better type systems are better than worse type systems. Which seems pretty obvious when stated that way.
>I have yet to read anyone who advocates for dynamic typing describe static typing as a "flaw".
Try looking on the internet. Every "static vs dynamic" argument has 99% of the dynamic side arguing that static typing is bad because java's type system limits them and doesn't prevent any bugs.
comment 12y ago · link · parent
And I can do it without ctags. That's the point.
>Depends, one proeminent C project doesn't use that: the linux kernel
That doesn't make his statement "depends" at all. A single project not using that style does not contradict it being "pretty common".
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
You probably shouldn't be giving advice then.
>This is how Galois and Facebook are taking advantage of Haskell
Facebook is using haskell for a high performance, high concurrency server for filtering. You do realize how similar that is to a web server right?
comment 12y ago · link · parent
comment 12y ago · link · parent
Haskell doesn't have a cryptic syntax. The same complaint would be just as (in)valid leveled at any commonly used language. We're not talking APL here.
>There are so many great languages out there nowadays, Clojure, Go, Erlang.
Go does not belong in that list.
>I don't see where Haskell would be a better fit
For writing software. I realize that sounds snarky, but that really is the answer. To see the problem with your question, just turn it around. Where would clojure or go be a better fit than haskell?
comment 12y ago · link · parent
I wouldn't call it either of those things. They are so general that people have a hard time getting them. That's all.
>That's what the "mumble mumble endofunctors" joke is getting at: sometimes they're a useful generalization, but more often they're a way to make easy things sound hard, or to make bad teachers sound smart.
That is not at all what the joke is getting at (and that doesn't even make sense).
comment 12y ago · link · parent
It isn't magical. I've spoken to many of them. I've seen the work they've done over the last 15 years. They earned my trust.
>Much of the projects early funding was via DARPA
No, a relatively small amount was via DARPA, and that funding was pulled due to Theo criticizing the US government. And that was not early in the project, it was like 8 years into the project's life. Doesn't really scream "NSA plants".