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. You can call me by my name, or you can call me by my value

You can call me by my name, or you can call me by my value

Scheduled Pinned Locked Moved The Lounge
delphi
17 Posts 12 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.
  • K Offline
    K Offline
    k5054
    wrote on last edited by
    #1

    [Niklaus Wirth, Inventor of Pascal, Dies At 89 - Slashdot](https://developers.slashdot.org/story/24/01/04/0126247/niklaus-wirth-inventor-of-pascal-dies-at-89) :rose:

    "A little song, a little dance, a little seltzer down your pants" Chuckles the clown

    M Mircea NeacsuM CPalliniC 0 Kornfeld Eliyahu PeterK 6 Replies Last reply
    0
    • K k5054

      [Niklaus Wirth, Inventor of Pascal, Dies At 89 - Slashdot](https://developers.slashdot.org/story/24/01/04/0126247/niklaus-wirth-inventor-of-pascal-dies-at-89) :rose:

      "A little song, a little dance, a little seltzer down your pants" Chuckles the clown

      Mircea NeacsuM Offline
      Mircea NeacsuM Offline
      Mircea Neacsu
      wrote on last edited by
      #2

      begin
      life(achievements);
      end.

      :rose:

      Mircea

      1 Reply Last reply
      0
      • K k5054

        [Niklaus Wirth, Inventor of Pascal, Dies At 89 - Slashdot](https://developers.slashdot.org/story/24/01/04/0126247/niklaus-wirth-inventor-of-pascal-dies-at-89) :rose:

        "A little song, a little dance, a little seltzer down your pants" Chuckles the clown

        M Offline
        M Offline
        MarkTJohnson
        wrote on last edited by
        #3

        His language provided for my family for over 10 years. I still say := is the superior assignment notation. Thank you Sir and :rose:

        I’ve given up trying to be calm. However, I am open to feeling slightly less agitated. I’m begging you for the benefit of everyone, don’t be STUPID.

        P E 2 Replies Last reply
        0
        • M MarkTJohnson

          His language provided for my family for over 10 years. I still say := is the superior assignment notation. Thank you Sir and :rose:

          I’ve given up trying to be calm. However, I am open to feeling slightly less agitated. I’m begging you for the benefit of everyone, don’t be STUPID.

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          MarkTJohnson wrote:

          := is the superior assignment notation.

          You are correct.

          1 Reply Last reply
          0
          • K k5054

            [Niklaus Wirth, Inventor of Pascal, Dies At 89 - Slashdot](https://developers.slashdot.org/story/24/01/04/0126247/niklaus-wirth-inventor-of-pascal-dies-at-89) :rose:

            "A little song, a little dance, a little seltzer down your pants" Chuckles the clown

            CPalliniC Offline
            CPalliniC Offline
            CPallini
            wrote on last edited by
            #5

            I still enjoy his books. :rose:

            "In testa che avete, Signor di Ceprano?" -- Rigoletto

            In testa che avete, signor di Ceprano?

            1 Reply Last reply
            0
            • K k5054

              [Niklaus Wirth, Inventor of Pascal, Dies At 89 - Slashdot](https://developers.slashdot.org/story/24/01/04/0126247/niklaus-wirth-inventor-of-pascal-dies-at-89) :rose:

              "A little song, a little dance, a little seltzer down your pants" Chuckles the clown

              0 Offline
              0 Offline
              0x01AA
              wrote on last edited by
              #6

              Worked about 10 year with Modula 2. Have read a lot of his parser stuff and compiler compiler. :rose:

              1 Reply Last reply
              0
              • K k5054

                [Niklaus Wirth, Inventor of Pascal, Dies At 89 - Slashdot](https://developers.slashdot.org/story/24/01/04/0126247/niklaus-wirth-inventor-of-pascal-dies-at-89) :rose:

                "A little song, a little dance, a little seltzer down your pants" Chuckles the clown

                Kornfeld Eliyahu PeterK Offline
                Kornfeld Eliyahu PeterK Offline
                Kornfeld Eliyahu Peter
                wrote on last edited by
                #7

                I did my final college project using Pascal - very rebellious for that time of COBOL... Simply fascinated me the language :rose:

                "If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization." ― Gerald Weinberg

                "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                J 1 Reply Last reply
                0
                • M MarkTJohnson

                  His language provided for my family for over 10 years. I still say := is the superior assignment notation. Thank you Sir and :rose:

                  I’ve given up trying to be calm. However, I am open to feeling slightly less agitated. I’m begging you for the benefit of everyone, don’t be STUPID.

                  E Offline
                  E Offline
                  englebart
                  wrote on last edited by
                  #8

                  Agreed. As a trainer for a few years in C and C++, I always stressed that when scanning/reading/writing code you should train yourself to read/think the operator and not the character(s).

                  int a = 5; // initialize (very important for C++)
                  a = 5; // assign
                  a == 5; // compare
                  a += 5; // accumulate
                  etc

                  Having a separate token for assignment operator is much cleaner.

                  T 1 Reply Last reply
                  0
                  • E englebart

                    Agreed. As a trainer for a few years in C and C++, I always stressed that when scanning/reading/writing code you should train yourself to read/think the operator and not the character(s).

                    int a = 5; // initialize (very important for C++)
                    a = 5; // assign
                    a == 5; // compare
                    a += 5; // accumulate
                    etc

                    Having a separate token for assignment operator is much cleaner.

                    T Offline
                    T Offline
                    trønderen
                    wrote on last edited by
                    #9

                    englebart wrote:

                    you should train yourself to read/think the operator and not the character(s)

                    Funny analogy: I spent a year as a US high school senior. In Norwegian high school, the physics teacher had stressed that in formulas and equations, we use letter symbols that are not from name of the phenomenon, e.g. 'v' for 'fart' (speed) and 'c' for 'ladning' (charge). Advanced physics requires so much math an so many equations that we must learn to solve as pure math equations with arbitrarily named variables. Being concerned about the physical interpretation while doing the math is disturbing, you do the math better by not worrying about what a squared speed is! This was firmly established in my brain when I came to the US and a physics teacher who strongly stressed that the symbols are mnemonics, to keep you aware of the physical interpretation. You must always use the mnemonic symbols: Kinetic energy E = 1/2 mv^2, half the mass times the velocity squared. A = 1/2 tf^2 is not the kinetic energy, but something completely different! For a few phenomena, I was used to other letters than the ones used in the US physics textbook - I think they might have been mnemonics for Latin words, not English ones. If I happened to use those Latin symbols in my hand-ins, they were corrected by the teacher to the proper English ones. So there are different schools. My preference is like yours: Don't worry about the textual representation, the equation is the same with other letters. The operation/operator is the same whatever it is called, how it is written. At least in an ideal world. There is a problem with symbols that have a well established interpretation that everyone knows, but you insist on using it with a different interpretation. That is the problem with '=': For centuries, the meaning of 'if privilege level = boss, allow entrance' is an interrogation of the privilege level. Then comes C programmers and insist on a different interpretation: The privilege level is set to 'boss', and if the internal representation of 'boss' is zero, entrance is allowed, regardless of who you are. This redefinition of well established interpretation I do not appreciate. Nor do I appreciate having to ask 'if privilege level is is boss, allow entrance'. Why should I have to double the test? There is a well established convention for interrogating the privilege level without repeating the condition! In other words: I prefer Pasca

                    Greg UtasG 1 Reply Last reply
                    0
                    • T trønderen

                      englebart wrote:

                      you should train yourself to read/think the operator and not the character(s)

                      Funny analogy: I spent a year as a US high school senior. In Norwegian high school, the physics teacher had stressed that in formulas and equations, we use letter symbols that are not from name of the phenomenon, e.g. 'v' for 'fart' (speed) and 'c' for 'ladning' (charge). Advanced physics requires so much math an so many equations that we must learn to solve as pure math equations with arbitrarily named variables. Being concerned about the physical interpretation while doing the math is disturbing, you do the math better by not worrying about what a squared speed is! This was firmly established in my brain when I came to the US and a physics teacher who strongly stressed that the symbols are mnemonics, to keep you aware of the physical interpretation. You must always use the mnemonic symbols: Kinetic energy E = 1/2 mv^2, half the mass times the velocity squared. A = 1/2 tf^2 is not the kinetic energy, but something completely different! For a few phenomena, I was used to other letters than the ones used in the US physics textbook - I think they might have been mnemonics for Latin words, not English ones. If I happened to use those Latin symbols in my hand-ins, they were corrected by the teacher to the proper English ones. So there are different schools. My preference is like yours: Don't worry about the textual representation, the equation is the same with other letters. The operation/operator is the same whatever it is called, how it is written. At least in an ideal world. There is a problem with symbols that have a well established interpretation that everyone knows, but you insist on using it with a different interpretation. That is the problem with '=': For centuries, the meaning of 'if privilege level = boss, allow entrance' is an interrogation of the privilege level. Then comes C programmers and insist on a different interpretation: The privilege level is set to 'boss', and if the internal representation of 'boss' is zero, entrance is allowed, regardless of who you are. This redefinition of well established interpretation I do not appreciate. Nor do I appreciate having to ask 'if privilege level is is boss, allow entrance'. Why should I have to double the test? There is a well established convention for interrogating the privilege level without repeating the condition! In other words: I prefer Pasca

                      Greg UtasG Offline
                      Greg UtasG Offline
                      Greg Utas
                      wrote on last edited by
                      #10

                      The proprietary language in which I worked for much of my career used ->, which was dubbed "gazinta" (goes into). This allowed constructs such as

                      if(function(arguments) -> result = ...)

                      with = being the C++ equivalent of ==.

                      Robust Services Core | Software Techniques for Lemmings | Articles
                      The fox knows many things, but the hedgehog knows one big thing.

                      <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
                      <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

                      P 1 Reply Last reply
                      0
                      • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                        I did my final college project using Pascal - very rebellious for that time of COBOL... Simply fascinated me the language :rose:

                        "If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization." ― Gerald Weinberg

                        J Offline
                        J Offline
                        jmaida
                        wrote on last edited by
                        #11

                        Did my final graduate project in PL/I which at the time was considered IBM's entry to their world. Our professor preferred Pascal and/or Algol 60, which I used frequently, but they were not commercially useful in US at that time, mid to late 70's, so he pushed PL/I. It had all the same concepts and then some as Pascal and Algol. I turned into a full fledged C programmer while using PL/I and COBOL to make money. Fortran served me well in the tech world of engineering. Wrote some pretty aggressive code using Fortran. Now I use only C, but I am retired. C++ not so much.

                        "A little time, a little trouble, your better day" Badfinger

                        1 Reply Last reply
                        0
                        • K k5054

                          [Niklaus Wirth, Inventor of Pascal, Dies At 89 - Slashdot](https://developers.slashdot.org/story/24/01/04/0126247/niklaus-wirth-inventor-of-pascal-dies-at-89) :rose:

                          "A little song, a little dance, a little seltzer down your pants" Chuckles the clown

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

                          RIP, Niklaus, and thank you for your invention of Pascal. Without any competition, Pascal is, by far, the best language I have used in the almost 50 years since I started programming. The C family has nothing to offer that can compare to the functionality and readability of Pascal.

                          Will Rogers never met me.

                          P 1 Reply Last reply
                          0
                          • Greg UtasG Greg Utas

                            The proprietary language in which I worked for much of my career used ->, which was dubbed "gazinta" (goes into). This allowed constructs such as

                            if(function(arguments) -> result = ...)

                            with = being the C++ equivalent of ==.

                            Robust Services Core | Software Techniques for Lemmings | Articles
                            The fox knows many things, but the hedgehog knows one big thing.

                            P Offline
                            P Offline
                            PIEBALDconsult
                            wrote on last edited by
                            #13

                            Greg Utas wrote:

                            "gazinta" (goes into)

                            But that's division. e.g. three gazinta twelve four times.

                            1 Reply Last reply
                            0
                            • R Roger Wright

                              RIP, Niklaus, and thank you for your invention of Pascal. Without any competition, Pascal is, by far, the best language I have used in the almost 50 years since I started programming. The C family has nothing to offer that can compare to the functionality and readability of Pascal.

                              Will Rogers never met me.

                              P Offline
                              P Offline
                              PIEBALDconsult
                              wrote on last edited by
                              #14

                              Roger Wright wrote:

                              functionality and readability

                              Are frequently at odds with other things which C is really good at. I haven't used Pascal since college, it never paid the bills.

                              R 1 Reply Last reply
                              0
                              • P PIEBALDconsult

                                Roger Wright wrote:

                                functionality and readability

                                Are frequently at odds with other things which C is really good at. I haven't used Pascal since college, it never paid the bills.

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

                                That certainly true; it never caught on. I used it for electronics testing in Aerospace, where maintainability is paramount, and there is no better language for readability. Alas, it lacked a lot of the bare metal programming capability that the C family brought to the table, and that was its doom, I suspect.

                                Will Rogers never met me.

                                P 1 Reply Last reply
                                0
                                • R Roger Wright

                                  That certainly true; it never caught on. I used it for electronics testing in Aerospace, where maintainability is paramount, and there is no better language for readability. Alas, it lacked a lot of the bare metal programming capability that the C family brought to the table, and that was its doom, I suspect.

                                  Will Rogers never met me.

                                  P Offline
                                  P Offline
                                  PIEBALDconsult
                                  wrote on last edited by
                                  #16

                                  And the 255-character string limit?

                                  R 1 Reply Last reply
                                  0
                                  • P PIEBALDconsult

                                    And the 255-character string limit?

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

                                    That was never a problem when I was actively programming, and I believe that was extended as part of their adoption of OOP with version 5.5+. Back in those days, testing was performed by setting up instruments with string commands, then triggering them with events generated by the test code. Reports were collected by reading instrument registers, so string length was never an issue. I was happy with the introduction of named Calls at the time, as everything the company I worked for used procedure calls that had numbers, and the only way to find out how to call them with parameters was to beg the Systems Programming group for documentation on a particular Call. Strange times, and everything was proprietary and dynamic; it wasn't unusual to use three programming languages on one Project. We are so very much better off today!

                                    Will Rogers never met me.

                                    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