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 shows its mark...

Old age shows its mark...

Scheduled Pinned Locked Moved The Lounge
designhelpquestioncareer
47 Posts 31 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.
  • OriginalGriffO OriginalGriff

    Old FORTRAN habits die hard ... I do the same, but at least I have to declare them these days. Old FORTRAN programmers never die, they RETURN to caller

    Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

    T Offline
    T Offline
    TNCaver
    wrote on last edited by
    #34

    Not just FORTRAN. We used i, j, and k for loop vars in all my C and C++ classes, too.

    If you think 'goto' is evil, try writing an Assembly program without JMP.

    OriginalGriffO 1 Reply Last reply
    0
    • S stoneyowl2

      If the next guy (or me) can't figure out what the 'i', or 'j' or 'k' is used for, then the need to get a different job (or take a FORTRAN course!).

      A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long

      S Offline
      S Offline
      Steven1218
      wrote on last edited by
      #35

      It's funny how we pick up these habits along the way, going from one language to the next. I immediately knew you had programmed in Fortran at some point.

      O 1 Reply Last reply
      0
      • T TNCaver

        Not just FORTRAN. We used i, j, and k for loop vars in all my C and C++ classes, too.

        If you think 'goto' is evil, try writing an Assembly program without JMP.

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #36

        As I said earlier: The Lounge[^]

        Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        T 1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          As I said earlier: The Lounge[^]

          Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

          T Offline
          T Offline
          TNCaver
          wrote on last edited by
          #37

          Pardon the repetition. I don't always read every other comment before adding my own. TL;DR syndrome.

          If you think 'goto' is evil, try writing an Assembly program without JMP.

          OriginalGriffO 1 Reply Last reply
          0
          • T TNCaver

            Pardon the repetition. I don't always read every other comment before adding my own. TL;DR syndrome.

            If you think 'goto' is evil, try writing an Assembly program without JMP.

            OriginalGriffO Offline
            OriginalGriffO Offline
            OriginalGriff
            wrote on last edited by
            #38

            No problem: I thought of copy'n'paste but couldn't be arsed! :laugh:

            Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

            T 1 Reply Last reply
            0
            • M Mycroft Holmes

              I have never touched Fortran or Cobol and I use the same conventions, I have no idea where I picked it up from as I learnt to code on a commodore 64 and then from a SuperBase manual.

              Never underestimate the power of human stupidity - RAH I'm old. I know stuff - JSOP

              M Offline
              M Offline
              M chael Luna
              wrote on last edited by
              #39

              I used the same conventions, I started with Basic and Pascal, then Delphi and VB

              1 Reply Last reply
              0
              • S stoneyowl2

                Okay, I was writing some code and noticed that I was using 'i','j', and 'k' for looping indices - it shook me that I still retained that habit. :doh: Then I thought: "Who cares? They do the job" :laugh:

                A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long

                D Offline
                D Offline
                Dr Walt Fair PE
                wrote on last edited by
                #40

                I do the same. FORTRAN habits still live on!

                CQ de W5ALT

                Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

                1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  No problem: I thought of copy'n'paste but couldn't be arsed! :laugh:

                  Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                  T Offline
                  T Offline
                  TNCaver
                  wrote on last edited by
                  #41

                  :laugh:

                  If you think 'goto' is evil, try writing an Assembly program without JMP.

                  1 Reply Last reply
                  0
                  • S Steven1218

                    It's funny how we pick up these habits along the way, going from one language to the next. I immediately knew you had programmed in Fortran at some point.

                    O Offline
                    O Offline
                    obermd
                    wrote on last edited by
                    #42

                    Or just about any other language.

                    1 Reply Last reply
                    0
                    • S stoneyowl2

                      Okay, I was writing some code and noticed that I was using 'i','j', and 'k' for looping indices - it shook me that I still retained that habit. :doh: Then I thought: "Who cares? They do the job" :laugh:

                      A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long

                      D Offline
                      D Offline
                      Dr Walt Fair PE
                      wrote on last edited by
                      #43

                      Yeah, I spent Jan1 to Jan25 in the hospital due to an infection that left me too weak to stand up. Hopefully, I got all of the drama out of the way for the rest of the year.

                      CQ de W5ALT

                      Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

                      1 Reply Last reply
                      0
                      • S stoneyowl2

                        If the next guy (or me) can't figure out what the 'i', or 'j' or 'k' is used for, then the need to get a different job (or take a FORTRAN course!).

                        A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long

                        J Offline
                        J Offline
                        JohnnyCee
                        wrote on last edited by
                        #44

                        They shouldn't have to figure it out. We aren't coding on punch cards where short variable names help programmer efficiency. Also, for most projects, triply-nested loops are a code smell and the method should be refactored.

                        JohnnyCee

                        J 1 Reply Last reply
                        0
                        • J JohnnyCee

                          They shouldn't have to figure it out. We aren't coding on punch cards where short variable names help programmer efficiency. Also, for most projects, triply-nested loops are a code smell and the method should be refactored.

                          JohnnyCee

                          J Offline
                          J Offline
                          jschell
                          wrote on last edited by
                          #45

                          Errr...are claiming that a programmer that sees the first rather than the second is going to somehow be better off? for(int index=0; index < 10; index++) for(int i=0; i < 10; i++)

                          1 Reply Last reply
                          0
                          • S stoneyowl2

                            Okay, I was writing some code and noticed that I was using 'i','j', and 'k' for looping indices - it shook me that I still retained that habit. :doh: Then I thought: "Who cares? They do the job" :laugh:

                            A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long

                            J Offline
                            J Offline
                            jschell
                            wrote on last edited by
                            #46

                            stoneyowl2 wrote:

                            Then I thought: "Who cares? They do the job" :laugh:

                            My thought when someone claims that there is something 'wrong' with that is that the problems we are having with customers being down, failure to even deliver requirements that are relevant to users, a continuing problem with delivered bugs into production, etc, etc.... ...have absolutely nothing to do with what variable I use in a for loop. And micro managing coding styles just demonstrates that the proponent of such has spent zero time studying the actual impacts to process quality. Often (maybe always) the same ones that think the newest technology is going to solve all those problems also (even as they are only 10% in to implementing the last technology solution that would have solved all of them.) Myself I also use 'r' for the return variable.

                            1 Reply Last reply
                            0
                            • S stoneyowl2

                              If the next guy (or me) can't figure out what the 'i', or 'j' or 'k' is used for, then the need to get a different job (or take a FORTRAN course!).

                              A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long

                              C Offline
                              C Offline
                              C David Barrineau
                              wrote on last edited by
                              #47

                              For those unaware... In maths and physics (along with others I suppose) i, j, k are standard vector spaces. Just sayin...

                              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