Dollar sign ($) on foriegn keyboards? (prothon)

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

    Dollar sign ($) on foriegn keyboards? (prothon)

    We are considering switching to the dollar sign ($) for self, instead of the
    period ( . ) we are using now in Prothon. Ruby uses the at-sign (@) for
    self, but our new usage of self also includes replacing the period for some
    attribute references, as in obj$func() versus obj.func(), and too many
    programs treat that as an email address and screw it up. Also the S in the
    symbol $ reminds one of the S in $elf.

    Can people from outside the U.S. tell me if typing the dollar sign often
    would be a problem in writing code? Is it available and somewhat easy to
    type on international keyboards?


  • Roel Schroeven

    #2
    Re: Dollar sign ($) on foriegn keyboards? (prothon)

    Mark Hahn wrote:[color=blue]
    > Can people from outside the U.S. tell me if typing the dollar sign often
    > would be a problem in writing code? Is it available and somewhat easy to
    > type on international keyboards?[/color]

    Belgian azerty: no problem. Easier to type, in fact, than several other
    symbols that are frequently used while programming, e.g. []{}_.

    --
    "Codito ergo sum"
    Roel Schroeven

    Comment

    • LB

      #3
      Re: Dollar sign ($) on foriegn keyboards? (prothon)


      "[color=blue]
      > Can people from outside the U.S. tell me if typing the dollar sign often
      > would be a problem in writing code? Is it available and somewhat easy to
      > type on international keyboards?
      >[/color]
      $ is a shift-key on italian standard keyboard.

      LB


      Comment

      • Petter Holmström

        #4
        Re: Dollar sign ($) on foriegn keyboards? (prothon)

        Mark Hahn wrote:[color=blue]
        > Can people from outside the U.S. tell me if typing the dollar sign often
        > would be a problem in writing code? Is it available and somewhat easy to
        > type on international keyboards?
        >[/color]

        Finnish/Swedish keyboards: No problems (AltGr + 4)

        -Petter-

        Comment

        • Peter Maas

          #5
          Re: Dollar sign ($) on foriegn keyboards? (prothon)

          LB wrote:[color=blue]
          > $ is a shift-key on italian standard keyboard.[/color]

          Also on german standard keyboard.

          Mit freundlichen Gruessen,

          Peter Maas

          --
          -------------------------------------------------------------------
          Peter Maas, M+R Infosysteme, D-52070 Aachen, Hubert-Wienen-Str. 24
          Tel +49-241-93878-0 Fax +49-241-93878-20 eMail peter.maas@mplu sr.de
          -------------------------------------------------------------------

          Comment

          • Hans-Peter Schroecker

            #6
            Re: Dollar sign ($) on foriegn keyboards? (prothon)

            On Tue, 20 Apr 2004 10:04:35 +0200, Peter Maas <peter.maas@mpl usr.de> wrote:[color=blue]
            > LB wrote:[color=green]
            >> $ is a shift-key on italian standard keyboard.[/color]
            >
            > Also on german standard keyboard.[/color]

            Just as on the Japanese notebook in front of me.

            Hans-Peter Schröcker

            Comment

            • Peter Otten

              #7
              Re: Dollar sign ($) on foriegn keyboards? (prothon)

              Mark Hahn wrote:
              [color=blue]
              > We are considering switching to the dollar sign ($) for self, instead of
              > the
              > period ( . ) we are using now in Prothon. Ruby uses the at-sign (@) for
              > self, but our new usage of self also includes replacing the period for
              > some attribute references, as in obj$func() versus obj.func(), and too
              > many
              > programs treat that as an email address and screw it up. Also the S in
              > the symbol $ reminds one of the S in $elf.
              >
              > Can people from outside the U.S. tell me if typing the dollar sign often
              > would be a problem in writing code? Is it available and somewhat easy to
              > type on international keyboards?[/color]

              In Germany every serious programmer has to switch to the American layout
              anyway because of {}[]@\~| (all odd AltGr combinations). As this is no
              problem on Windows and Linux(KDE) (how about the Mac?), I recommend against
              making special character choices based on keyboard layout.

              Apart from that obj$func() hurts my eye more than obj->func() and
              obj!func(). As always, Python shines here with its obj.func() :-)

              Peter

              Comment

              • Joe Mason

                #8
                Re: Dollar sign ($) on foriegn keyboards? (prothon)

                In article <c62m70$2hu$06$ 1@news.t-online.com>, Peter Otten wrote:[color=blue]
                > Mark Hahn wrote:
                >[color=green]
                >> We are considering switching to the dollar sign ($) for self, instead of
                >> the
                >> period ( . ) we are using now in Prothon. Ruby uses the at-sign (@) for[/color][/color]

                <snip>
                [color=blue]
                > Apart from that obj$func() hurts my eye more than obj->func() and
                > obj!func(). As always, Python shines here with its obj.func() :-)[/color]

                I believe the suggestion is "$.func()" instead of "self.func( )" (the
                Python way) or just ".func()" (the earlier Prothon way). Or possibly
                the suggestion is for "$func()", although I like $.func() much better.

                (I like this better than the ., though I still have no problem with
                writing self all the time, so I prefer sticking to the Python way. It
                solves my main problem with ., which is when you do have to pass self
                explicitly. "function_call( param1, ., parm2)" is much more confusing
                than "function_call( param1, $, param2)".)

                Joe

                Comment

                • Hugh Macdonald

                  #9
                  Re: Dollar sign ($) on foriegn keyboards? (prothon)

                  On Mon, 19 Apr 2004 23:22:10 -0700
                  "Mark Hahn" <mark@prothon.o rg> wrote:
                  [color=blue]
                  > Can people from outside the U.S. tell me if typing the dollar sign
                  > often would be a problem in writing code? Is it available and
                  > somewhat easy to type on international[/color]

                  Anyone who writes a language like Perl or PHP would use it a lot anyway (all variables start with a symbol, usually $)

                  --
                  Hugh Macdonald
                  The Moving Picture Company

                  Comment

                  • Peter Otten

                    #10
                    Re: Dollar sign ($) on foriegn keyboards? (prothon)

                    Joe Mason wrote:
                    [color=blue]
                    > In article <c62m70$2hu$06$ 1@news.t-online.com>, Peter Otten wrote:[color=green]
                    >> Mark Hahn wrote:
                    >>[color=darkred]
                    >>> We are considering switching to the dollar sign ($) for self, instead of
                    >>> the
                    >>> period ( . ) we are using now in Prothon. Ruby uses the at-sign (@) for[/color][/color]
                    >
                    > <snip>
                    >[color=green]
                    >> Apart from that obj$func() hurts my eye more than obj->func() and
                    >> obj!func(). As always, Python shines here with its obj.func() :-)[/color]
                    >
                    > I believe the suggestion is "$.func()" instead of "self.func( )" (the
                    > Python way) or just ".func()" (the earlier Prothon way). Or possibly
                    > the suggestion is for "$func()", although I like $.func() much better.[/color]

                    I skimmed too lightly over the first paragraph and missed that - but still
                    there is the obj$func() example in Mark's post, and with my Python mindset
                    (I didn't follow the Prothon discussion closely) I cannot figure out what
                    that is supposed to mean.
                    [color=blue]
                    > (I like this better than the ., though I still have no problem with
                    > writing self all the time, so I prefer sticking to the Python way. It
                    > solves my main problem with ., which is when you do have to pass self
                    > explicitly. "function_call( param1, ., parm2)" is much more confusing
                    > than "function_call( param1, $, param2)".)[/color]

                    [OT] Seems to happen all the time with Python - try to simplify at some
                    point and you pay twice elsewhere. Prothon will have a hard time occupying
                    a local optimum in beauty/simplicity/usefulness that is both near and
                    better than Python. This starts with the name, by the way - it evokes the
                    association of prothotype, which looks quite, er, ungreek :-)

                    Peter

                    Comment

                    • srijit@yahoo.com

                      #11
                      Re: Dollar sign ($) on foriegn keyboards? (prothon)

                      Hello Mark,
                      IMO typing dollar($) sign should not be a problem in Sweden and Germany.

                      Regards,
                      Srijit

                      "Mark Hahn" <mark@prothon.o rg> wrote in message news:<mk3hc.138 95$dZ1.10823@fe d1read04>...[color=blue]
                      > We are considering switching to the dollar sign ($) for self, instead of the
                      > period ( . ) we are using now in Prothon. Ruby uses the at-sign (@) for
                      > self, but our new usage of self also includes replacing the period for some
                      > attribute references, as in obj$func() versus obj.func(), and too many
                      > programs treat that as an email address and screw it up. Also the S in the
                      > symbol $ reminds one of the S in $elf.
                      >
                      > Can people from outside the U.S. tell me if typing the dollar sign often
                      > would be a problem in writing code? Is it available and somewhat easy to
                      > type on international keyboards?[/color]

                      Comment

                      • Peter Maas

                        #12
                        Re: Dollar sign ($) on foriegn keyboards? (prothon)

                        Peter Otten wrote:[color=blue]
                        > In Germany every serious programmer has to switch to the American
                        > layout anyway because of {}[]@\~| (all odd AltGr combinations).[/color]

                        Oh, I didn't know that. Fortunately I'm not a serious programmer. ;)

                        Mit freundlichen Gruessen,

                        Peter Maas

                        --
                        -------------------------------------------------------------------
                        Peter Maas, M+R Infosysteme, D-52070 Aachen, Hubert-Wienen-Str. 24
                        Tel +49-241-93878-0 Fax +49-241-93878-20 eMail peter.maas@mplu sr.de
                        -------------------------------------------------------------------

                        Comment

                        • Adriano Varoli Piazza

                          #13
                          Re: Dollar sign ($) on foriegn keyboards? (prothon)

                          El Mar 20 Abr 2004 03:22, Mark Hahn escribió:[color=blue]
                          > We are considering switching to the dollar sign ($) for self, instead
                          > of the period ( . ) we are using now in Prothon. Ruby uses the
                          > at-sign (@) for self, but our new usage of self also includes
                          > replacing the period for some attribute references, as in obj$func()
                          > versus obj.func(), and too many programs treat that as an email
                          > address and screw it up. Also the S in the symbol $ reminds one of
                          > the S in $elf.
                          >
                          > Can people from outside the U.S. tell me if typing the dollar sign
                          > often would be a problem in writing code? Is it available and
                          > somewhat easy to type on international keyboards?[/color]

                          Spanish and Latin American QUERTY keyboards: Shift + 4.
                          --
                          Adriano Varoli Piazza
                          The Inside Out: http://moranar.com.ar
                          ICQ: 4410132
                          MSN: adrianomd@hotma il.com
                          Claves gpg / pgp en hkp://subkeys.pgp.net

                          Comment

                          • Peter Otten

                            #14
                            [OT] Keyboard layout, was Re: Dollar sign ($) on foriegn keyboards? (prothon)

                            Peter Maas wrote:
                            [color=blue]
                            > Peter Otten wrote:[color=green]
                            >> In Germany every serious programmer has to switch to the American
                            > > layout anyway because of {}[]@\~| (all odd AltGr combinations).[/color]
                            >
                            > Oh, I didn't know that. Fortunately I'm not a serious programmer. ;)[/color]

                            I hate people being apodictic - even myself.
                            But I never felt comfortable with AltGr, so it was a great relief when I
                            learned about switching kezboard lazouts and well worth the occasional y-z
                            glitch. By the way, I once came across a whole book that had these
                            characters swapped.

                            Maybe my fingers just didn't grow in the right place to press AltGr+9
                            simultaneously, but somehow I can't see how that makes me the member of a
                            minority.

                            Mit freundlichen Gr[-en :-)

                            Peter


                            Comment

                            • Des Small

                              #15
                              Re: Dollar sign ($) on foriegn keyboards? (prothon)

                              "Mark Hahn" <mark@prothon.o rg> writes:
                              [color=blue]
                              > Can people from outside the U.S. tell me if typing the dollar sign often
                              > would be a problem in writing code? Is it available and somewhat easy to
                              > type on international keyboards?[/color]

                              The dollar sign is used in extensively in Unix shells and Perl, which
                              are both widely used (Perl also on Windows). It seems unlikely that
                              any keyboard with a latin alphabet wouldn't include it.

                              Des
                              types in a wide variety of dollar-equipped iso encodings.
                              --
                              "[T]he structural trend in linguistics which took root with the
                              International Congresses of the twenties and early thirties [...] had
                              close and effective connections with phenomenology in its Husserlian
                              and Hegelian versions." -- Roman Jakobson

                              Comment

                              Working...