Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I must be the only person in the world who thinks it is absurd to see code formatting as a matter of personal preference.

    If

        I just ( you know , like this )
    format my English text in any old way,it
        gets awfully hard to read.There are standard grammatical conventions for written text,yet we try to reinvent them for programming
    . See how silly it is to break before the operator
    ?And what's the deal with braces being non-tight
    ? ( I mean, we don't have space after an opening paren ( and
    • I must be the only person in the world who thinks it is absurd to see code formatting as a matter of personal preference.

      In French, it's conventional to put a space before the question mark -- like this ? They also don't seem to indent new paragraphs. ¡In Spanish, they mark exclamations at the front too! In Czech, we can see, that they put commas before "that" when the independent clause comes first (as in this sentence, so "we can see" isn't parenthetical). In German, they capitalize Nouns and some

      • Though you could probably argue that those languages are consistent "internally", so picking a format for Perl would only be equivalent to picking it for one of those languages.

        Yes. And Perl is (quite arguably (on many levels)) linguistically based in English.

        Maybe programming languages each need a few hundred years to settle on formatting conventions.

        Maybe, but please name some French/ Spanish/ German/ Czech programming languages.

        (So I was trying to put one "phrase" per line, with continuations indented by one space.) They end up looking almost like poems, which I think makes them too flippant.

        Poems yes, but "poem" does not imply "flippant". Poetry has been quite influential throughout history (though we forget that thanks to technological advances like "fox news".) Poems are memorable because of the rhyme (or non-rhyme), beat, linebreaks, syntactical twists, etc. It's not much different than distending an array/hash decl

        • Maybe, but please name some French/ Spanish/ German/ Czech programming languages.

          Rasmus Lerdorf (Denmark) designed PHP.

          Bjarne Stroustrup (Denmark) designed C++.

          Guido van Rossum (Netherlands) designed Python.

          Yukihiro Matsumoto (Japan) designed Ruby.

          Niklaus Wirth (Switzerland, german part) designed ALGOL, Pascal, Modula.

          Jean David Ichbiah (France) designed Ada.

          The Ericsson company (Sweden) designed Erlang.

          French professors designed Prolog.

          Norwegian professors designed Simula.

          INRIA (France) designs OCAML.

          etc, etc.

          I could go through the thousands of programming languages listed in Wikipedia, but stil have some $work to do :-)

          --
          Close the world. txEn eht nepO