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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Reflections on my first completed application in OCaml

113 点作者 mseri超过 4 年前

3 条评论

red2awn超过 4 年前
My biggest frustration with the Ocaml is with third-party libraries documentation. The majority of the docs are just function signatures without explanation, let alone usage examples.<p>The language however is quite nice and the stdlib is fairly complete.<p>Edit: Another problem I see is the (over?) reliance on PPX preprocessors. It does make a lot of tasks simpler, but it is too much magic for me personally.
评论 #25109950 未加载
评论 #25109260 未加载
nikitaga超过 4 年前
Ocaml is rock solid as a foundation, yet the ecosystem appears to be very fragmented. For example, not only does Ocaml not support unicode strings natively, there are several competing libraries offering this functionality. This is just bizarre. Why is it like this? Not unicode specifically but like, in general. Doesn&#x27;t Ocaml have some kind of language improvement process?
评论 #25108010 未加载
评论 #25108711 未加载
评论 #25111949 未加载
ahh超过 4 年前
For string interpolation, check out: <a href="https:&#x2F;&#x2F;github.com&#x2F;janestreet&#x2F;ppx_string" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;janestreet&#x2F;ppx_string</a><p>I was just remarking to a coworker Friday how happy this made me; you get to write nice, obvious, readable string expressions with the right substitions, for ~arbitrary types.