Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Why String?

Why String?

Scheduled Pinned Locked Moved The Lounge
comquestion
70 Posts 49 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Ralph Little

    I would have thought they you people would have COTTONED on to how tiresome this THREAD is becoming. :D

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #61

    Get knotted

    MVVM# - See how I did MVVM my way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')

    1 Reply Last reply
    0
    • M MSBassSinger

      Sounds like string theory. :)

      C Offline
      C Offline
      Cj Welborn
      wrote on last edited by
      #62

      No one has anwered the original question

      1 Reply Last reply
      0
      • R Ralph Little

        Perhaps it is a US thing. I cut my programming teeth on a Vic20 and it was always A-dollar. I've never heard the A-string version in my entire 30 year experience in the industry (not that I would have heard either version in the last 25 of them, of course :D )

        M Offline
        M Offline
        Milton N
        wrote on last edited by
        #63

        To me A$ was always spoken as "A dollar" but it was always understood it as, this is a string variable. Maybe an AU thing :)

        1 Reply Last reply
        0
        • L Lost User

          hence the ancient Inca saying, "Get Knotted"

          MVVM# - See how I did MVVM my way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')

          M Offline
          M Offline
          Milton N
          wrote on last edited by
          #64

          Seems we have been Strung along for too long...... :zzz:

          1 Reply Last reply
          0
          • H Harley L Pebley

            A couple theories on StackOverflow[^] The two prevailing ones indicate it's either from typography or mathematics.

            M Offline
            M Offline
            Milton N
            wrote on last edited by
            #65

            A string of pearls A string of beads A string of characters ... why not!

            1 Reply Last reply
            0
            • R Roger Wright

              I think it's an unconscious desire to return to the good old days of BASIC where a variable was identified as containing text characters by using the suffix $. The art of programming has never recovered from the damage done by constructs like, >10 DATA "MY", "TEXT", "DATA" >20 READ A$, B$, C$ >30 LPRINT A$, B$, C$ >50 GOTO 10 >9999 END >RUN Back in the day, A$ was even pronounced, "A-string." :-D

              Will Rogers never met me.

              A Offline
              A Offline
              Antonino Porcino
              wrote on last edited by
              #66

              > 45 RESTORE 10 otherwise ?OUT OF DATA ERROR IN 20 is "raised" :)

              R 1 Reply Last reply
              0
              • A Antonino Porcino

                > 45 RESTORE 10 otherwise ?OUT OF DATA ERROR IN 20 is "raised" :)

                R Offline
                R Offline
                Roger Wright
                wrote on last edited by
                #67

                Ah, good call! It's been a while (34 years)...

                Will Rogers never met me.

                1 Reply Last reply
                0
                • G George Grimes

                  To add to the old-timers theory, I started programming in 1976 on my job. The first language was an assembler for a minicomputer and then Fortran. After that, I started to college working on my E.E. degree and they forced me to take one semester each of Basic and Fortran (again). By that time I was learning both Pascal and C at work so my exposure to Basic didn't do me too much harm. You can count me as another programmer (still programming for a living) who did not start with the Basic language. I also never heard A$ pronounced A-string until I read this thread. I also never considered Basic to have given birth to the concept of the terminology. I'll see if I can did out some of my old books and find any references to strings that predate Basic.

                  K Offline
                  K Offline
                  Ken_Holt
                  wrote on last edited by
                  #68

                  Another oldtimer here. I did my first programming in 1967 on an IBM 1620 in both assembler and Fortran II. I learned BASIC on a DEC PDP-11 RSTS system in the mid 70's. I pronounced A$ as either "A-dollar" or "A-string". In my circle, the two were used interchangeably. I'm in the USA, by the way. Ken

                  1 Reply Last reply
                  0
                  • R Ralph Little

                    Perhaps it is a US thing. I cut my programming teeth on a Vic20 and it was always A-dollar. I've never heard the A-string version in my entire 30 year experience in the industry (not that I would have heard either version in the last 25 of them, of course :D )

                    A Offline
                    A Offline
                    AvelWorld
                    wrote on last edited by
                    #69

                    I also cut my programming teeth on the Vic-20 (actually I started with a TRS-80). And even then such variables were named with the "string" pronunciation suffix. I also have 30+ years, starting with digital theory (when I was 9 years old!) Some groups back then were calling "bits" (Binary digITS) as "binits" (BINary digIGTS). Nomenclature has gone through a lot of changes in the past several decades. That some manuals were calling things like "A$" as "A-String", and that this was repeated, meant that there was a likely source. A lot of schools and shops tended to have their own vocabularies back in the day. Some became common, some didn't. It's the height of arrogance to say that just because you never heard of the term at the time you started in the field that it wasn't in usage somewhere. I think even Knuth referred to groups of characters as "strings", but I lost my copies of "The Art of Computer Programming" and I can't recall for sure. And they were published in 1968, which were published well before any of the "old timers" here have claimed they started. Given that history, I'm calling "bullsh*t" on them.

                    R 1 Reply Last reply
                    0
                    • A AvelWorld

                      I also cut my programming teeth on the Vic-20 (actually I started with a TRS-80). And even then such variables were named with the "string" pronunciation suffix. I also have 30+ years, starting with digital theory (when I was 9 years old!) Some groups back then were calling "bits" (Binary digITS) as "binits" (BINary digIGTS). Nomenclature has gone through a lot of changes in the past several decades. That some manuals were calling things like "A$" as "A-String", and that this was repeated, meant that there was a likely source. A lot of schools and shops tended to have their own vocabularies back in the day. Some became common, some didn't. It's the height of arrogance to say that just because you never heard of the term at the time you started in the field that it wasn't in usage somewhere. I think even Knuth referred to groups of characters as "strings", but I lost my copies of "The Art of Computer Programming" and I can't recall for sure. And they were published in 1968, which were published well before any of the "old timers" here have claimed they started. Given that history, I'm calling "bullsh*t" on them.

                      R Offline
                      R Offline
                      Ralph Little
                      wrote on last edited by
                      #70

                      I think the main thrust of what we hear on this thread is that different regions have different experiences. There's no debate as to whether or not sequences of characters are called "strings" or not, that is a strawman argument. It is why we have std::string in C++. I think that you are mistaking other's (and my) comments that they never heard the term before as a belief that no-one uses them anywhere else, again a strawman argument. I never said that and I've not seen that claimed here. I call your bullsh*t and raise you a "get off your high horse".

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups