in reply to Perl is a post-modern aesthetic language

In keeping with the 'Natural language Principles in Perl' article & some of the comments on thread 'People watching' its tempting to regard individual style as being a sort of coding 'accent', traceable to other languages and the coders you've worked with.

I picked up habitual java style capitalizationOfVariableNames from working with java programmers perl scripts for example.

  • Comment on Re: Perl is a post-modern aesthetic language

Replies are listed 'Best First'.
Re^2: Perl is a post-modern aesthetic language
by Anonymous Monk on Jan 18, 2005 at 15:46 UTC
    I picked up habitual java style capitalizationOfVariableNames from working with java programmers perl scripts for example.
    The proper way to do it is $lpszwMyVariableHelloWorld = "Hello World!";
      Where does the wide in lpszw come from? Are you utf8ing??


      qq/madams55075.spamtrap.@comcast.net/ =~ s/\.spamtrap\.//;

        It's equally reasonable to call a perl string wide and narrow -- it will certianly fit 16-bit unicode characters (and even 32-bit unicode characters). OTOH, it's not UTF-16.

        What I want to know is why Hungerians feel the need to mark all their pointers long (far). When is the last time you used a near pointer?


        Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).