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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The unfulfilled promise of functional ideals on the web

1 点作者 cristinacordova超过 3 年前

1 comment

ggm超过 3 年前
I&#x27;ve done the Glasgow Haskell course. It&#x27;s hard. Some of the hardness was being 10hrs out of sync with the rest of the class who were in the UK and I wasn&#x27;t but it&#x27;s also hard because changing from 30+ years of imperative thinking to functional thinking is hard. Some people say it takes 6 weeks to break a habit, well the course lasted about 8 weeks and I didn&#x27;t break the habit.<p>Of course you <i>can</i> code in the imperative mode in an FP and in fact, some people do teach this for the benefit of having strongly typed, and functional language inside the model. If you learn the type model and the REPL then the rest can follow naturally.<p>My employer had one or two webapps written in elm and they worked well. The stakeholder hated the L&amp;F so as usual, they died on issues tangential to the coding language but there was a valid point made by other coders: If you go this far off the common path, you make support burdens for other people. I think this is part of why FP for web is so thin on the ground: it requires substantial cross group participation to succeed at scale, a lone-wolf won&#x27;t get you a good outcome