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. Old age?

Old age?

Scheduled Pinned Locked Moved The Lounge
c++functionalquestion
19 Posts 11 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.
  • D den2k88

    I actually used the term subroutine. Is there anyone who actually uses it anymore? In the age of OOP everywhere and fictional functional programming isn't the word itself an anathema on par of "Ni"?

    GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

    R Offline
    R Offline
    Rage
    wrote on last edited by
    #4

    ...
    40 GOSUB 2000
    ...
    99 END

    2000 PRINT "HELLO FROM SUB!"
    2010 RETURN

    Do not escape reality : improve reality !

    D 1 Reply Last reply
    0
    • R Rage

      ...
      40 GOSUB 2000
      ...
      99 END

      2000 PRINT "HELLO FROM SUB!"
      2010 RETURN

      Do not escape reality : improve reality !

      D Offline
      D Offline
      den2k88
      wrote on last edited by
      #5

      This gives me flashbacks of 'learning' GWBASIC (I was too young and inexperienced to actually learn something from only the reference book given with the computer itself).

      GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

      R R 2 Replies Last reply
      0
      • D den2k88

        I actually used the term subroutine. Is there anyone who actually uses it anymore? In the age of OOP everywhere and fictional functional programming isn't the word itself an anathema on par of "Ni"?

        GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

        D Offline
        D Offline
        Daniel Pfeffer
        wrote on last edited by
        #6

        den2k88 wrote:

        Ni

        :omg: it's now Ekke-ekke-ekke-ekke-ptang-zoo-boing.

        Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

        R 1 Reply Last reply
        0
        • D den2k88

          This gives me flashbacks of 'learning' GWBASIC (I was too young and inexperienced to actually learn something from only the reference book given with the computer itself).

          GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

          R Offline
          R Offline
          Rage
          wrote on last edited by
          #7

          AMSTRAD 6128 BASIC, actually. I installed an emulator recently - brought a lot of memories back !

          Do not escape reality : improve reality !

          1 Reply Last reply
          0
          • D Daniel Pfeffer

            den2k88 wrote:

            Ni

            :omg: it's now Ekke-ekke-ekke-ekke-ptang-zoo-boing.

            Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

            R Offline
            R Offline
            Rage
            wrote on last edited by
            #8

            We demand : a shrubbery.

            Do not escape reality : improve reality !

            D 1 Reply Last reply
            0
            • R Rage

              We demand : a shrubbery.

              Do not escape reality : improve reality !

              D Offline
              D Offline
              Daniel Pfeffer
              wrote on last edited by
              #9

              Rage wrote:

              We demand : another shrubbery.

              FTFY

              Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

              1 Reply Last reply
              0
              • D den2k88

                I actually used the term subroutine. Is there anyone who actually uses it anymore? In the age of OOP everywhere and fictional functional programming isn't the word itself an anathema on par of "Ni"?

                GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

                M Offline
                M Offline
                markrlondon
                wrote on last edited by
                #10

                Sometimes. I sometimes refer generally to subroutines of any sort. Also, if I remember correctly in Clarion, a subroutine is specifically an internal routine within a function or procedure. It only took about 25 years for C# to get this feature compared to Clarion.

                D S G H 4 Replies Last reply
                0
                • M markrlondon

                  Sometimes. I sometimes refer generally to subroutines of any sort. Also, if I remember correctly in Clarion, a subroutine is specifically an internal routine within a function or procedure. It only took about 25 years for C# to get this feature compared to Clarion.

                  D Offline
                  D Offline
                  den2k88
                  wrote on last edited by
                  #11

                  I farking despise lambda functions used in that way.

                  GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

                  M 1 Reply Last reply
                  0
                  • M markrlondon

                    Sometimes. I sometimes refer generally to subroutines of any sort. Also, if I remember correctly in Clarion, a subroutine is specifically an internal routine within a function or procedure. It only took about 25 years for C# to get this feature compared to Clarion.

                    S Offline
                    S Offline
                    Super Lloyd
                    wrote on last edited by
                    #12

                    Wow, wow, wow.. some Googling later I learned that Clarion is a 4th generation, multiparadigm programming language! I expect nothing less now! :O :laugh:

                    A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

                    1 Reply Last reply
                    0
                    • D den2k88

                      I actually used the term subroutine. Is there anyone who actually uses it anymore? In the age of OOP everywhere and fictional functional programming isn't the word itself an anathema on par of "Ni"?

                      GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

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

                      I very rarely ... sorry, what did I come here for? :confused:

                      1 Reply Last reply
                      0
                      • M markrlondon

                        Sometimes. I sometimes refer generally to subroutines of any sort. Also, if I remember correctly in Clarion, a subroutine is specifically an internal routine within a function or procedure. It only took about 25 years for C# to get this feature compared to Clarion.

                        G Offline
                        G Offline
                        GadgetNC
                        wrote on last edited by
                        #14

                        Clarion... Now that's a name I have not heard in a long time... I used it for many years, not that template stuff, but real coding. It really wasn't that bad.

                        M 1 Reply Last reply
                        0
                        • D den2k88

                          I actually used the term subroutine. Is there anyone who actually uses it anymore? In the age of OOP everywhere and fictional functional programming isn't the word itself an anathema on par of "Ni"?

                          GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

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

                          I would if anyone would talk to me. :(

                          1 Reply Last reply
                          0
                          • D den2k88

                            This gives me flashbacks of 'learning' GWBASIC (I was too young and inexperienced to actually learn something from only the reference book given with the computer itself).

                            GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

                            R Offline
                            R Offline
                            Rick York
                            wrote on last edited by
                            #16

                            My first programming was in time-shared BASIC on an HP 3000. Imagine the teacher's surprise when I was writing a substitution cipher encoder and decoder as a freshman after one week in the class. The look on the teacher's face when he found out was truly priceless. That was in about 1975.

                            "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

                            1 Reply Last reply
                            0
                            • D den2k88

                              I farking despise lambda functions used in that way.

                              GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

                              M Offline
                              M Offline
                              markrlondon
                              wrote on last edited by
                              #17

                              It's not a lambda as such (as I understand the term). Clarion way back in 1991 didn't have the concept of lambdas. Clarion's routines are just subroutines embedded within parent subroutines (i.e. a procedure or function) such that they are local to their parent. Yeah, I suppose they share some characteristics with lambdas but 'mentally' and syntactically they aren't like them.

                              1 Reply Last reply
                              0
                              • G GadgetNC

                                Clarion... Now that's a name I have not heard in a long time... I used it for many years, not that template stuff, but real coding. It really wasn't that bad.

                                M Offline
                                M Offline
                                markrlondon
                                wrote on last edited by
                                #18

                                Yes, I liked it a lot. I found it extremely pleasant to code in and very productive. Drawing screen layouts within the source and very easy database design were real pleasures of productivity.

                                1 Reply Last reply
                                0
                                • M markrlondon

                                  Sometimes. I sometimes refer generally to subroutines of any sort. Also, if I remember correctly in Clarion, a subroutine is specifically an internal routine within a function or procedure. It only took about 25 years for C# to get this feature compared to Clarion.

                                  H Offline
                                  H Offline
                                  H Brydon
                                  wrote on last edited by
                                  #19

                                  A subroutine is really a function returning void. That is how it is defined and linked in FORTRAN on all the platforms I've used.

                                  If pigs could fly, just imagine how good their wings would taste! - Harvey

                                  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