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.

Reflections on my first completed application in OCaml

113 pointsby mseriover 4 years ago

3 comments

red2awnover 4 years ago
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 未加载
nikitagaover 4 years ago
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 未加载
ahhover 4 years ago
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.