Just one problem: dune.
It’s one thing to recommend dune as a build system. No prob.
It’s another thing entirely to teach newcomers that dune is OCaml. It is not. Emphatically not. It is in fact radically different. The build model dune presents is a grotesque distortion. Even worse the distortion is intentional.
If you really want to help newcomers, provide simple makefiles or shell files for basic examples. After all learning a programming language always involves more than just the language, it also involves how to distribute code across files and build stuff. Imho you do a terrible disservice to new users by pretending that the build discipline of OCaml should just be ignored.
17 posts - 7 participants