TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Algebraic Effects: Another mistake carried through to perfection?

28 点作者 todsacerdoti2 天前

6 条评论

agentultra2 天前
There’s a certain amount of hubris to say, “I don’t know anything about this and you’re making a mistake.” It’s off putting and kills the whole rant.<p>I’ve heard opinions from smart people with lots of experience who say algebraic effects are not worth the squeeze. I’ve also heard some say that we should all be pushing the boundaries: they are the future.<p>So the matter doesn’t seem to be decided. Now isn’t the time for maxims.
voxl2 天前
The desire of the HN community to pull a random person&#x27;s uninformed opinion about a topic that they, justifiably, wrote for their own interests and amusement and then pontificate about how either stupid or amazing it is will never ceise to confuse me.<p>Effects on their own are a very active area of research and I would laugh behind a PL researchers back if they claimed it was a solved issue. Between Monads, call-by-push-value, and algebraic effects there is really no clear &quot;how do people actually use this&quot; answer.<p>But that&#x27;s not the job of a PL researcher anyway, or a random software engineer for that matter. Sorry to say, the software engineer knows next to nothing about &quot;the right way&quot; to design language features that people want to use or enjoy using. If anything this should be an HCI person with a penchant for PL or vice versa.
评论 #43943791 未加载
评论 #43943588 未加载
rednafi1 天前
Research doesn&#x27;t work like that. I like the idea of separating contract and implementation in algebraic effects. It might pave the way to bring back some sanity to imperative languages and help us write better code, since it&#x27;s pretty clear that the &quot;real world&quot; doesn&#x27;t care much about pure functional languages no matter what they bring to the table. Or algebraic effects could be like monads, many like to talk about them while people building real stuff have no clue about it, nor do they care. But we&#x27;ll never know unless we explore.
lambdas1 天前
To which implementation is the author referring, I wonder?<p>I can’t say I recognise any of these issues from <i>freer</i>, <i>polysemy</i>, nor <i>bluefin</i>.
gitroom2 天前
Every time I read stuff like this it just makes me laugh, I honestly never know who to listen to in these debates.
smitty1e2 天前
&gt; sweet careers are made of this, so who am I to disagree? Compile the world; Java Python C. Everybody’s looking for some bug. Some of them want to maintain you. Some of them want to be maintained.<p>For those missing the reference:<p><a href="https:&#x2F;&#x2F;youtu.be&#x2F;qeMFqkcPYcg?si=at-YtggekbPdv7sN" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;qeMFqkcPYcg?si=at-YtggekbPdv7sN</a>