Jarkko Hietaniemi said
>  What's wrong with stealing from C/C++/Java instead
>  of trying to invent our own?
>
>  In other words, what's wrong with /* ... */?

For one thing this would break (looking for zero or many slashes, x, y and
zero to many zs):

if (/\/*xyz*/) { ... };

Perl has gotten itself into a hole on this subject, due to its shell-based
roots where one line comments are sufficient.

Maybe this could work if we disable the special meaning of /**/ when found
in a quoted string or a regex (as "#" is).

Please send further comments on this to the Multiline Comment sublist.

--Michael

Reply via email to