Prothon Prototypes vs Python Classes

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Michael

    #76
    Re: Prothon Prototypes vs Python Classes

    [color=blue][color=green]
    >>but you could allow either all-tabs or all-spaces in a given file.
    >>
    >>[/color]
    >
    >Maybe that the is most sensible solution I've heard yet.
    >[/color]
    That'd seem agreeable to me. Especially if how strict the rule was could
    be set at run time as a Python argument. So you could either have mixed
    spaces and tabs refuse to run, give an error, or be ignored and run (if
    possible) as we might currently expect.

    Comment

    • John Roth

      #77
      Re: Prothon Prototypes vs Python Classes


      "Mark Hahn" <mark@prothon.o rg> wrote in message
      news:9C8ac.6830 3$cx5.4075@fed1 read04...[color=blue][color=green]
      > > but you could allow either all-tabs or all-spaces in a given file.[/color]
      >
      > Maybe that the is most sensible solution I've heard yet.[/color]

      That mostly works. In fact, the original suggestion to use
      tabs followed by spaces *only* for alignining continuations
      also works: the most toxic case is the one where someone
      has their indentation set to 4, and the editor blithely compresses
      runs of 8 spaces to one tab. Then it goes to someone
      else whose editor is set up for four character tabs, and
      the indentation gets messed up.

      John Roth

      PS - I may have gotten several private e-mails at the address
      on these postings. Please don't - the address that's availible
      on Usenet is virus checked, spam checked and then deleted
      without being read.

      JR.

      [color=blue]
      >
      >
      > "Greg Ewing (using news.cis.dfn.de )" <ieyf4fu02@snea kemail.com> wrote in
      > message news:4068D66A.7 060800@sneakema il.com...[color=green]
      > > Mark Hahn wrote:[color=darkred]
      > > > Prothon has announced that we are caving in and going to spaces[/color][/color][/color]
      instead[color=blue]
      > of[color=green][color=darkred]
      > > > tabs, even though both of the Prothon authors abhor spaces.[/color]
      > >
      > > You don't have to choose between them if you don't
      > > want to. Disallowing *mixed* tabs and spaces is sensible,
      > > but you could allow either all-tabs or all-spaces in a
      > > given file.
      > >
      > > --
      > > Greg Ewing, Computer Science Dept,
      > > University of Canterbury,
      > > Christchurch, New Zealand
      > > http://www.cosc.canterbury.ac.nz/~greg
      > >[/color]
      >
      >[/color]


      Comment

      • Gerrit

        #78
        Tabs and spaces

        John Roth wrote:[color=blue]
        > As far as rendering programs, the most obvious
        > culprit is OE, which for all of its defects and security
        > problems, is still one of the most used mail and newsgroup
        > clients out there.[/color]

        <pre>
        T h e r e i s a s o l u t i o n ; - )
        </pre>

        Gerrit.

        --
        Weather in Twenthe, Netherlands 30/03 13:55 UTC:
        15.0°C wind 5.8 m/s E (57 m above NAP)
        --
        here will soon be Gerrit Holl's very own signature

        Comment

        • Gerrit

          #79
          Re: Prothon Prototypes vs Python Classes

          Mark Hahn wrote:[color=blue]
          > A2. People that bitch about top-posting.[/color]

          Mark - I really find it a bit difficult to read your postings. I keep
          scrolling to below to see whether there is still more to come - because you
          do sometimes quote others and then answer below. When I see quoting in a
          message, I automatically assume there's more to come, and I am not the
          only one. I think it is the wrong answer to say that people shouldn't
          bitch about top-posting - it _does_ annoy people (including me and Aahz).
          There are conventions on usenet (and mailing lists), and they are there
          with reason. I would like to kindly ask you to try to do more
          'bottom-posting'. It makes your postings easier and prettier to read.

          Really, it does - please try it...

          yours,
          Gerrit.

          --
          Weather in Twenthe, Netherlands 30/03 13:55 UTC:
          15.0°C wind 5.8 m/s E (57 m above NAP)
          --
          here will soon be Gerrit Holl's very own signature

          Comment

          • Terry Reedy

            #80
            Re: Prothon Prototypes vs Python Classes

            The irony of this idiocy is that is shows precisely why top-posting is bad.

            "Mark Hahn" <mark@prothon.o rg> wrote in message
            news:Sz8ac.6827 2$cx5.62681@fed 1read04...[color=blue]
            > A2. People that bitch about top-posting.
            >
            > "Aahz" <aahz@pythoncra ft.com> wrote in message
            > news:c4akqh$gml $1@panix2.panix .com...[color=green]
            > > In article <AHF9c.49048$cx 5.33872@fed1rea d04>,
            > > Mark Hahn <mark@prothon.o rg> wrote:[color=darkred]
            > > >
            > > >I didn't know I was going the opposite direction from Python. I guess[/color][/color]
            > I'll[color=green][color=darkred]
            > > >have to change that.
            > > >
            > > >I guess I didn't make it clear that no design decisions were frozen in[/color][/color]
            > the[color=green][color=darkred]
            > > >language.[/color]
            > >
            > > A: Because it messes up the order in which people normally read text.
            > > Q: Why is top-posting such a bad thing?
            > > A: Top-posting.
            > > Q: What is the most annoying thing on usenet?
            > > --
            > > Aahz (aahz@pythoncra ft.com) <*>[/color]
            > http://www.pythoncraft.com/[color=green]
            > >
            > > "usenet imitates usenet" --Darkhawk[/color]
            >
            >
            > --
            > http://mail.python.org/mailman/listinfo/python-list
            >[/color]




            Comment

            • John Roth

              #81
              Re: Tabs and spaces


              "Gerrit" <gerrit@nl.linu x.org> wrote in message
              news:mailman.11 4.1080652458.20 120.python-list@python.org ...
              John Roth wrote:[color=blue]
              > As far as rendering programs, the most obvious
              > culprit is OE, which for all of its defects and security
              > problems, is still one of the most used mail and newsgroup
              > clients out there.[/color]

              <pre>
              T h e r e i s a s o l u t i o n ; - )
              </pre>

              1. This only works if you are using html, which is
              strongly discouraged (but still depressingly prevalent)

              2. The OE problem is on the recipient's side, not
              on the sender's side.

              John Roth

              Gerrit.

              --
              Weather in Twenthe, Netherlands 30/03 13:55 UTC:
              15.0°C wind 5.8 m/s E (57 m above NAP)
              --
              here will soon be Gerrit Holl's very own signature


              Comment

              • Peter Hickman

                #82
                Re: Prothon Prototypes vs Python Classes

                Gerrit wrote:[color=blue]
                > only one. I think it is the wrong answer to say that people shouldn't
                > bitch about top-posting - it _does_ annoy people (including me and Aahz).[/color]

                Will you please reign in you ego and qualify your statement 'it annoys
                *SOME* people'. I find all the bitching about top posting to be a
                greater distraction than top posting itself!
                [color=blue]
                > There are conventions on usenet (and mailing lists), and they are there
                > with reason. I would like to kindly ask you to try to do more
                > 'bottom-posting'. It makes your postings easier and prettier to read.[/color]

                I find bottom posting to be a real pain as when I look at a new message
                it defaults to showing me the top of the message and I then have to
                scroll through pages of quoted posts that I have already read just to
                read one or two lines stuck at the bottom.
                [color=blue]
                > Really, it does - please try it...[/color]

                It also doesn't, so once you have worked out how to keep both parties
                happy, perhaps 'middle posting' would be a working compromise, you can
                get on to curing cancer and bringing peace to the middle east.

                I have never left a group because of the trolls.
                I have never left a group because of the noobies.
                I have left a group because of the constant whining about top posting.

                People who whine on about 'top posting' are the sort of people who draft
                'clean desk' policies. If you want to whine about top posting then start
                alt.whine.top.p osting and have fun.

                Comment

                • David M. Cooke

                  #83
                  Re: tabbing probs

                  At some point, Michael <mogmios@mlug.m issouri.edu> wrote:
                  [color=blue][color=green]
                  >>You're contradicting yourself. In a prior post, you said that if you
                  >>had a crappy editor, then change it. Now you're saying that you
                  >>think you would have to press the space bar or the backspace key
                  >>multiple times, and you're not going to give up that crappy editor
                  >>for one that works properly.
                  >>[/color]
                  > An editor is crappy if it inserts anything other than what you type
                  > into the code. If I press tab and four spaces are inserted that is
                  > crap. If I press 'A' and 'a' is inserted that is crap. To me, it
                  > sounds as if this entire issue is caused by crappy editors that think
                  > they know better than the programmers. If you want a smart alec paper
                  > clip telling you what to do when you're editing code then feel free to
                  > do so but I just want raw access to my code.[/color]

                  Does your backspace key insert a backspace character (^H), also?

                  --
                  |>|\/|<
                  /--------------------------------------------------------------------------\
                  |David M. Cooke
                  |cookedm(at)phy sics(dot)mcmast er(dot)ca

                  Comment

                  • Michael

                    #84
                    Re: Prothon Prototypes vs Python Classes

                    [color=blue][color=green]
                    >>A2. People that bitch about top-posting.
                    >>
                    >>[/color]
                    >
                    >Mark - I really find it a bit difficult to read your postings. I keep
                    >scrolling to below to see whether there is still more to come - because you
                    >do sometimes quote others and then answer below. When I see quoting in a
                    >message, I automatically assume there's more to come, and I am not the
                    >only one. I think it is the wrong answer to say that people shouldn't
                    >bitch about top-posting - it _does_ annoy people (including me and Aahz).
                    >There are conventions on usenet (and mailing lists), and they are there
                    >with reason. I would like to kindly ask you to try to do more
                    >'bottom-posting'. It makes your postings easier and prettier to read.
                    >
                    >Really, it does - please try it...
                    >
                    >[/color]
                    The 'standard' I've seen worked out in about a decade of watching this
                    exact argument.. when responding to individual parts of someones message
                    then post your reply directly underneath the section you're replying to.
                    If you're making a short response to the entire message it's okay to top
                    post. Of course, either bottom or top posting, clip any text in the
                    previous messages you aren't directly responding to.

                    Comment

                    • Magnus Lyck?

                      #85
                      Re: Prothon Prototypes vs Python Classes

                      Michael <mogmios@mlug.m issouri.edu> wrote in message news:<40675F08. 9070402@mlug.mi ssouri.edu>...[color=blue]
                      > They're planning to remove tab indention support in 3.0? I for one would
                      > be pissed off at such a change.[/color]

                      I don't think you need to worry. AFAIK Python 3 is the mythological
                      if-I-could-turn-back-the-clock-and-undo-all-my-mistakes version
                      of Python, which Guido probably won't have time to work with
                      until his son is big enough to help him. (He'll be 3 in November.)
                      It will have little regard for backward compatibility, and if it
                      does appear sooner than expected, you can expect Python 2.x to be
                      maintaned in parallel for a long time.

                      Comment

                      • Michael

                        #86
                        Re: Prothon Prototypes vs Python Classes

                        [color=blue]
                        >I don't think you need to worry. AFAIK Python 3 is the mythological
                        >if-I-could-turn-back-the-clock-and-undo-all-my-mistakes version
                        >of Python, which Guido probably won't have time to work with
                        >until his son is big enough to help him. (He'll be 3 in November.)
                        >It will have little regard for backward compatibility, and if it
                        >does appear sooner than expected, you can expect Python 2.x to be
                        >maintaned in parallel for a long time.
                        >
                        >[/color]
                        That's good. I was thinking that if they actually took out tab support
                        I'd have to fork the code base and keep applying a patch that added tab
                        support back in. Not to hard I think but not the kind of thing I like to do.

                        Overall I dislike features being removed, once added as
                        non-experimental. I think if a languages authors want to do major
                        changes like that which will break compatibility it's better to create a
                        new language. Even if the two languages are highly similar. Otherwise
                        you end up into weird issues like Perl where new versions take forever
                        and if they are released as many people are annoyed as are pleased. Call
                        them a family of languages if you like. So prehaps we could see the
                        language Monty with some of Guido's new and improved ideas.

                        Comment

                        • Michael

                          #87
                          Re: Prothon Prototypes vs Python Classes

                          [color=blue]
                          >I don't think you need to worry. AFAIK Python 3 is the mythological
                          >if-I-could-turn-back-the-clock-and-undo-all-my-mistakes version
                          >of Python, which Guido probably won't have time to work with
                          >until his son is big enough to help him. (He'll be 3 in November.)
                          >It will have little regard for backward compatibility, and if it
                          >does appear sooner than expected, you can expect Python 2.x to be
                          >maintaned in parallel for a long time.
                          >
                          >[/color]
                          That's good. I was thinking that if they actually took out tab support
                          I'd have to fork the code base and keep applying a patch that added tab
                          support back in. Not to hard I think but not the kind of thing I like to do.

                          Overall I dislike features being removed, once added as
                          non-experimental. I think if a languages authors want to do major
                          changes like that which will break compatibility it's better to create a
                          new language. Even if the two languages are highly similar. Otherwise
                          you end up into weird issues like Perl where new versions take forever
                          and if they are released as many people are annoyed as are pleased. Call
                          them a family of languages if you like. So prehaps we could see the
                          language Monty with some of Guido's new and improved ideas.

                          Comment

                          • David MacQuigg

                            #88
                            Re: Prothon Prototypes vs Python Classes

                            On 30 Mar 2004 12:37:25 -0800, magnus@thinkwar e.se (Magnus Lyck?)
                            wrote:
                            [color=blue]
                            >I don't think you need to worry. AFAIK Python 3 is the mythological
                            >if-I-could-turn-back-the-clock-and-undo-all-my-mistakes version
                            >of Python, which Guido probably won't have time to work with
                            >until his son is big enough to help him. (He'll be 3 in November.)
                            >It will have little regard for backward compatibility, and if it
                            >does appear sooner than expected, you can expect Python 2.x to be
                            >maintaned in parallel for a long time.[/color]

                            Maybe Prothon will *become* Python 3.0 That could happen quicker than
                            migrating all the Python libraries to Prothon. Open source is an
                            amazing phenomenon!

                            Nothing like a little kick-in-the-butt competition to stimulate
                            progress. :>)

                            -- Dave

                            Comment

                            • Bruno Desthuilliers

                              #89
                              Re: [OT] Top posting is a PITA [was : Prothon Prototypes vs PythonClasses]

                              Peter Hickman wrote:[color=blue]
                              > Gerrit wrote:
                              >[color=green]
                              >> only one. I think it is the wrong answer to say that people shouldn't
                              >> bitch about top-posting - it _does_ annoy people (including me and Aahz).[/color]
                              >
                              >
                              > Will you please reign in you ego and qualify your statement 'it annoys
                              > *SOME* people'.[/color]

                              Well, it seems that it annoys *most* people here. BTW, I was about to do
                              the same... (Mark, if you read us : your work seems pretty interesting,
                              so do *yourself* a favor and make your posts more readable !-).
                              [color=blue]
                              > I find all the bitching about top posting to be a
                              > greater distraction than top posting itself![/color]

                              So please stop bitching about people bitching about top-posting.
                              [color=blue][color=green]
                              >> There are conventions on usenet (and mailing lists), and they are there
                              >> with reason. I would like to kindly ask you to try to do more
                              >> 'bottom-posting'. It makes your postings easier and prettier to read.[/color]
                              >
                              > I find bottom posting to be a real pain as when I look at a new message
                              > it defaults to showing me the top of the message and I then have to
                              > scroll through pages of quoted posts that I have already read just to
                              > read one or two lines stuck at the bottom.[/color]

                              If you have to do so, then the poster didn't get point : only quote
                              what's needed.

                              (snip)
                              [color=blue]
                              >
                              > I have never left a group because of the trolls.
                              > I have never left a group because of the noobies.
                              > I have left a group because of the constant whining about top posting.[/color]

                              May I suggest you to count how many messages Mark posted here before
                              someone kindly suggested that he could help everyone by doing a simple
                              thing ? If that's what you call 'constant whining', then you are the troll.
                              [color=blue]
                              > People who whine on about 'top posting' are the sort of people who draft
                              > 'clean desk' policies. If you want to whine about top posting then start
                              > alt.whine.top.p osting and have fun.[/color]

                              Après vous, mon cher.

                              Bruno

                              Comment

                              • Bruno Desthuilliers

                                #90
                                Re: Prothon Prototypes vs Python Classes

                                Carl Banks wrote:[color=blue]
                                > William Park wrote:
                                >[/color]
                                (snip)
                                [color=blue][color=green]
                                >>This space-vs-tab war is just insane. I wish Prothon/Python would use
                                >>block terminator, if only to kill this silly trollings.[/color]
                                >
                                >
                                > Right. Then we can have "does the brace go on the same line or the
                                > next line" wars.
                                >[/color]

                                lol !

                                Comment

                                Working...