in reply to Comments in my code

I agree with busunsl, both versions look pretty pointless to me. Perhaps you could tell us why you would use them.

--
<http://www.dave.org.uk>

"The first rule of Perl club is you don't talk about Perl club."

Replies are listed 'Best First'.
Re: Comments in my code
by s0ttle (Scribe) on Nov 09, 2001 at 15:57 UTC
    I just did not put anything in the space after the comments.

    I just ocasionally use

    #!/usr/bin/perl -w ;# ;# usage: blah blah
    then I go on to use
    # comment without the ;
    simply for my own reasons: I like the way it looks at the beginning separate from the shebang.

    -tengo mas que aprender
      What are your reasons?

      Personally the first one that popped into my head on seeing the style was, "Sounds like someone who has done way too much Lisp." :-)

        That's one reason.  I use ' ;# ' as the pattern for time-stamps which works for lisp, perl and shell, eg:
        #!/usr/local/bin/perl -w ;# 14:44 07May01 permute.pl
          p

      There's nothing really brain damaged about your convention, but it is non-parsimonious. That's a big word for anything not on the straight line between two points. Non-parsimonious things tend to jump out and bother experienced programmers. When you're looking at any code and trying to understand it, you're constantly asking 'What does this do, and why does it do it?'.

      The truth is that if you stare at anything long enough it will start to look familiar, and that's good. It helps us code. But since your the only one doing it, it's not going to help anyone else. And since it's non-parsimonious it's actually going to bother us.