Oliver Hoog wrote: > There is already the unambiguous /+...+/ syntax, so why not drop the > /*...*/ syntax? Compatibility? Convenience? I think D should be more > pragmatic. > What do you think?
I don't think D needs two inline comment forms, but /+...+/ is no less ambiguous than /*...*/. Don't forget about the unary '+' operator: auto p = 1; auto j = 100/+p; (Also, "multi-line"? I only use /*...*/ for inline comments that end before the end of the line. I use multiple instances of '//' if I want a comment that extends beyond the end of a line.) -- Rainer Deyke - rain...@eldwood.com