News for hackers. Stuff that matters.
Re:Block Comments Are a Bad Idea by oct on Wednesday October 11, 2017 @08:07AM (#15449052)
OCaml actually has correct block comments by his definition (and no line comments). This does lead to the odd fact that you can't have an unterminated string literal in a comment, which usually isn't a problem, but can be surprising.
Re:Block Comments Are a Bad Idea by Athas on Wednesday October 11, 2017 @08:39AM (#15449234)
Does this mean that the following comment would be a syntax error in an OCaml program?

    (* Strings are enclosed by '"'. *)