On Jul 28, 2025 at 8:24:38 AM, Brian via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:

> The two ways to do comments are, IMO, almost essential. The way I was
> taught to write Pascal, about 45 years ago now, was to use braces for
> comments - but then if you needed to comment out a whole chunk of
> code, including multiple comments, you used (* and *) to do it.
>

I think this is historical baggage from {} not being able to nest within
each other. There’s no technical reason why {} can’t nest but instead of
changing that a new comment was introduced. Seems redundant to me now
looking back.

Regards,
    Ryan Joseph
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to