4 ms·
> …we eliminate so-called “structured programming” constructs like “for” and “if”. Only function calls, variables, and constants are allowed. The result is that
by gasping 12y ago
> …we eliminate so-called “structured programming” constructs like “for” and “if”. Only function calls, variables, and constants are allowed. The result is that we end up with something that looks a lot more like assembly code; but instead of “GOTO” statements, we use callbacks…
Oh god please no.
Building a nontrivial app in node is already a nightmare.
- siscia 12y agoWell, node is node... In Clojure I got almost to the point where I can write and reuse almost any layer of my application, I need to connect with Mongo, check, I need to authenticate an user, check, I need to connect with Postgresql, check... In the next app, if I would need to connect again to mongo I will just need to import the relevant module...
- aikah 12y agoWell, what the author wants is called Haskell(or Scala to some extent) where the logic "is in the type itself", he doesn't know it yet or he wouldn't have written this article.
- mikermcneil 12y agoFrankly I just want to do it in JavaScript-- not because it's good, but because it's "good enough". Know what I mean?
- aikah 12y agoTry Haskell, you'll understand why JS isn't "good enough".
- mikermcneil 12y agoBack that up, please.