ocaml / dune

A composable build system for OCaml.
https://dune.build/
MIT License
1.56k stars 394 forks source link

Streamline the UX for newcomers #9006

Open grayswandyr opened 8 months ago

grayswandyr commented 8 months ago

Following discussions on the OCaml forum, I'd like to advocate the implementation of features that would, in my mind, simplify the whole experience for newcomers and developers of simple projects (for a definition of simple that dune developers can refine). As a professor, we often meet the following issues with our students:

@rgrinberg had sketched the idea of possibly having a single file (dune-project IIRC) for simple projects. In the context of the OCaml platform, and comparing to other famous recent platforms, I'd like to advocate that this should be a priority, together with a good warning and test story (meaning such important activities as test and repeated non-fatal warning should be easily activated, not through a complex stanza).

smolkaj commented 7 months ago

I have similar concerns, explained in a footnote of this comment (find and click the three dots to see it) and elaborated in this comment.