News for hackers. Stuff that matters.
Re:OCaml for the Masses by iskander on Wednesday September 28, 2011 @12:52PM (#3048784)
Cool, this would have helped me a lot when I was getting started. An idea: You might want to start the README with 'Skeleton is X'. I had to scan around for a while to figure out what your project actually does.
Re:OCaml for the Masses by wickedchicken on Wednesday September 28, 2011 @07:43PM (#3050446)
Hey, I looked up your profile and you mention doing some compiler research. HN has no way to 'ping' a user, but I'd be curious what that research entailed...
Re:OCaml for the Masses by iskander on Thursday September 29, 2011 @12:34AM (#3051143)
If that email on qrunk.com works, then I just emailed you.
Re:OCaml for the Masses by wickedchicken on Wednesday September 28, 2011 @12:59PM (#3048822)
Good idea, thanks
Re:OCaml for the Masses by iskander on Wednesday September 28, 2011 @01:52PM (#3049067)
A question: What's the point of the Makefile? Why not use ocamlbuild directly?
Re:OCaml for the Masses by wickedchicken on Wednesday September 28, 2011 @02:14PM (#3049174)
Multiple reasons:

* It gives you a convenient place to stash extra config options in your project. For example, instead of having to type (and remember!) -tag pkg_oUnit, it's just in the Makefile. You can't forget something that's been saved in a text file!

* It gives you a single point of entry for "other" tools which may be added later -- documentation generation, packaging, installing as a library or Debian package. I personally like all of that recorded in one file so I have to search around less.

* As an expository project, it's helpful to show off clear examples of ocamlbuild itself -- the syntax is different enough that someone just starting out in the language may not be able to grok the documentation enough to just get something running.