On Thu, 22 Mar 2007 08:59:05 -0400 (EDT), Andy Dougherty
<[EMAIL PROTECTED]> wrote:

> Please avoid //-style comments.  Older compilers don't understand
> them.

Not only 'older' compilers, also 'stricter' compilers.
One of my pet-peeves. Sorry. // comments are bad style.

my $a = 1 // <This is comment :)>;

> Also, and more importantly, this section of code has several commented out 
> lines, but no comments explaining why those lines are commented out.  It 
> makes it more difficult to understand.
> 
> --- parrot-current/lib/Parrot/Pmc2c/PMETHODs.pm       2007-03-17 
> 19:15:14.000000000 -0400
> +++ parrot-andy/lib/Parrot/Pmc2c/PMETHODs.pm  2007-03-21 11:56:34.730000000 
> -0400
> @@ -439,7 +439,7 @@
>  
>      /* if (PMC_cont(ccont)->address) { */
>      {
> -        //parrot_context_t * const caller_ctx = PMC_cont(ccont)->to_ctx;
> +        /* parrot_context_t * const caller_ctx = PMC_cont(ccont)->to_ctx; */
>          if (! caller_ctx) {
>              /* there is no point calling real_exception here, because
>                 PDB_backtrace can't deal with a missing to_ctx either. */


-- 
H.Merijn Brand         Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.9.x   on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.0 & 10.2, AIX 4.3 & 5.2, and Cygwin. http://qa.perl.org
http://mirrors.develooper.com/hpux/            http://www.test-smoke.org
                        http://www.goldmark.org/jeff/stupid-disclaimers/

Reply via email to