TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Scala: A Postfunctional Language

35 pointsby davidblairover 15 years ago

3 comments

jerfover 15 years ago
This isn't describing "post-functional", it's just plain old "multiparadigm". Multiparadigm languages generally have a "base" language type that is at least slightly preferred or possibly what everything else compiles down to, with the tradeoff that anything you can't get without being "pure" in some paradigm won't be available to you. In practice this is often a good choice.<p>Lisp, Python, C++, Perl, it's a pretty well-populated space and nothing in that article leads me to believe that there's any particular innovation in the paradigm arena there. That is not to say the language itself is good or bad, just that this article is based on a really weird premise.
评论 #1069003 未加载
评论 #1069247 未加载
ekiruover 15 years ago
I'm a little disappointed that the article suggests that the IO monad makes Haskell impure. While it is certainly true that unsafePerformIO violates purity(and type safety, as well), without it, IO is perfectly pure. It's just that if an IO a value happens to end up in main or something referenced from main, input and output happen. From the language's perspective, the IO monad functions could all be perfectly pure and have no relation to input or output(putStrLn could be a no-op, input functions could always return the same thing). It would be utterly useless for its intended purpose, but there would be no difference in terms of its purity.
评论 #1069014 未加载
timwangover 15 years ago
For me, scala is too complicated.... now I am reading "programming clojure" and it is more fun so far