in reply to Re: Re: Non-English posts on Perlmonks
in thread Non-English posts on Perlmonks

We share a common language, it is called Perl.

I assume this is a joke, but just in case it isn't I'll point out that yes, an if statement is an if statement, but code with comments, identifiers, etc written in a language you don't know create a large obstacle to understanding the code.

  • Comment on Re: Re: Re: Non-English posts on Perlmonks

Replies are listed 'Best First'.
Re**4: Non-English posts on Perlmonks
by belg4mit (Prior) on Jul 11, 2003 at 15:05 UTC
    It is not a joke. I've never been a fan of comments, and tend to view them as crutches. In any event, code written by the speaker of another language is still almost certainly bound to be easier to decipher than that which is intentionally Obfuscated.

    I'm not belgian but I play one on TV.

      I've never been a fan of comments, and tend to view them as crutches.

      Oh, to be young again... ;-)

        When I was younger than I am now, I had the same condescending attitude that you do towards people who comment lightly or not at all.

        But then I learned from painful experience (and advice from wiser programmers) that comments have about as many bugs as code when first written, but only the bugs in code get caught, and going forward only the code is maintained. Therefore in maintainance programming, don't trust comments.

        But if the maintainance programmer ignores your comments, then attempting to make bad code OK by adding comments is worse than useless. You may get warm fuzzies from having the comments, but the energy would have been better spent making the code better...