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
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. Inheritance

Inheritance

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
36 Posts 31 Posters 0 Views
  • 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.
  • E [email protected]
    This post did not contain any content.
    L This user is from outside of this forum
    L This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #11

    Impressive to work that long on something and not change the code at all. The mom('s team) was either very competent at writing configurable code or very good at pretending to work.

    T C 2 Replies Last reply
    18
    • L [email protected]

      Impressive to work that long on something and not change the code at all. The mom('s team) was either very competent at writing configurable code or very good at pretending to work.

      T This user is from outside of this forum
      T This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #12

      With such a codebase, once it is settled to a certain point, you stop adding things. You write new things, and carefully interface with the old stuff.

      Imagine a bank. Their software core is usually neolithic, i.e. written in COBOL or even worse, FORTRAN. You don't add the "online banking" or "web client" interface in the original language. You add them in something more contemporary, which interfaces to the neolithic core via files, pipes, libraries, whatever, and translate it into a frontend as needed. As long as the core works, nobody needs to touch it.

      J 1 Reply Last reply
      30
      • T [email protected]

        With such a codebase, once it is settled to a certain point, you stop adding things. You write new things, and carefully interface with the old stuff.

        Imagine a bank. Their software core is usually neolithic, i.e. written in COBOL or even worse, FORTRAN. You don't add the "online banking" or "web client" interface in the original language. You add them in something more contemporary, which interfaces to the neolithic core via files, pipes, libraries, whatever, and translate it into a frontend as needed. As long as the core works, nobody needs to touch it.

        J This user is from outside of this forum
        J This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #13

        You don't add the "online banking" or "web client" interface in [FORTRAN]

        Don't kink shame.

        L C 2 Replies Last reply
        25
        • J [email protected]

          I didn’t think COBOL had inheritance.

          burgerbaron@piefed.socialB This user is from outside of this forum
          burgerbaron@piefed.socialB This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #14

          Carlos!

          1 Reply Last reply
          6
          • J [email protected]

            You don't add the "online banking" or "web client" interface in [FORTRAN]

            Don't kink shame.

            L This user is from outside of this forum
            L This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #15

            My first network stack was written in assembly for a Motorola 68k. It was hot.

            1 Reply Last reply
            7
            • J [email protected]

              You don't add the "online banking" or "web client" interface in [FORTRAN]

              Don't kink shame.

              C This user is from outside of this forum
              C This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #16

              The extreme masochists begin to back slowly away in alarm.

              1 Reply Last reply
              7
              • D [email protected]

                Tangential, but I'm working with some code that started out in the punch card era (I'm doing particle physics, it's in fortran)

                P This user is from outside of this forum
                P This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #17

                haha me too.
                although it was ported to fortran 4, 77 and 2003 respectively.
                still the logic remained in its core.

                But i must admit. working on such organic grown is harder then doing yourself.
                comments was devils work at that time.
                variables shortened to 3 chars for memory sake.
                really a pain in the ass.

                1 Reply Last reply
                14
                • E [email protected]
                  This post did not contain any content.
                  driving_crooner@lemmy.eco.brD This user is from outside of this forum
                  driving_crooner@lemmy.eco.brD This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #18

                  Had a friend who father was a FORTRAN programmer and teach him since he was a child. At 17, he was already working on a oil company making bank. He was obsessed with synthesizers and everytime you went to his house he showed you the new ones he bought. At 25 he "retired" with his own house and a fully equipped recording studio and nowadays it's a music producer doing some consulting to pay the bills.

                  1 Reply Last reply
                  26
                  • E [email protected]
                    This post did not contain any content.
                    cupcakezealot@piefed.blahaj.zoneC This user is from outside of this forum
                    cupcakezealot@piefed.blahaj.zoneC This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #19

                    cobol's mom has got it going on

                    1 Reply Last reply
                    16
                    • J [email protected]

                      I didn’t think COBOL had inheritance.

                      B This user is from outside of this forum
                      B This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #20

                      For some reason, COBOL has had OOP features since 2002.

                      M 1 Reply Last reply
                      2
                      • E [email protected]
                        This post did not contain any content.
                        U This user is from outside of this forum
                        U This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #21

                        I remember reading a fascinating article (or Reddit post, at the time when those were sometimes awesome) from this guy interviewing his mom, a COBOL programmer... Wondering if it's related...

                        Update: found it but it was deleted

                        Update: found it on the waybackmachine:
                        https://web.archive.org/web/20160719020302/https://medium.com/@Svenskunganka/interviewing-my-mother-a-mainframe-cobol-programmer-c693d40d88f7#.kiw240b6p

                        P 0 2 Replies Last reply
                        24
                        • E [email protected]
                          This post did not contain any content.
                          Z This user is from outside of this forum
                          Z This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #22

                          I’m sitting here looking at C files that have existed for well over a decade, and this thread makes me feel like I’m living in luxury and only one notch below vibe coding.

                          0 W M 3 Replies Last reply
                          28
                          • U [email protected]

                            I remember reading a fascinating article (or Reddit post, at the time when those were sometimes awesome) from this guy interviewing his mom, a COBOL programmer... Wondering if it's related...

                            Update: found it but it was deleted

                            Update: found it on the waybackmachine:
                            https://web.archive.org/web/20160719020302/https://medium.com/@Svenskunganka/interviewing-my-mother-a-mainframe-cobol-programmer-c693d40d88f7#.kiw240b6p

                            P This user is from outside of this forum
                            P This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #23

                            Great read, thanks for that!

                            1 Reply Last reply
                            1
                            • Z [email protected]

                              I’m sitting here looking at C files that have existed for well over a decade, and this thread makes me feel like I’m living in luxury and only one notch below vibe coding.

                              0 This user is from outside of this forum
                              0 This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #24

                              I've worked with C code from the late 70s... that was cool.

                              1 Reply Last reply
                              5
                              • E [email protected]
                                This post did not contain any content.
                                0 This user is from outside of this forum
                                0 This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #25

                                COBOL is still on my to learn list.

                                B M 2 Replies Last reply
                                4
                                • U [email protected]

                                  I remember reading a fascinating article (or Reddit post, at the time when those were sometimes awesome) from this guy interviewing his mom, a COBOL programmer... Wondering if it's related...

                                  Update: found it but it was deleted

                                  Update: found it on the waybackmachine:
                                  https://web.archive.org/web/20160719020302/https://medium.com/@Svenskunganka/interviewing-my-mother-a-mainframe-cobol-programmer-c693d40d88f7#.kiw240b6p

                                  0 This user is from outside of this forum
                                  0 This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #26

                                  The smaller banks however are better off which usually runs something like Java without mainframes.

                                  I'm not so sure about that...

                                  1 Reply Last reply
                                  6
                                  • Z [email protected]

                                    I’m sitting here looking at C files that have existed for well over a decade, and this thread makes me feel like I’m living in luxury and only one notch below vibe coding.

                                    W This user is from outside of this forum
                                    W This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #27

                                    I've got Java code older than a decade I have to deal with too...

                                    1 Reply Last reply
                                    5
                                    • 0 [email protected]

                                      COBOL is still on my to learn list.

                                      B This user is from outside of this forum
                                      B This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #28

                                      I can't recall if it was COBOL or FORTRAN, but I tried learning one of them after being pretty confident in picking up any other programming language I've tried to learn, including assembly (wouldn't want to use that for large projects but I've written context switches and such), but I ended up giving up because it felt like the learning materials themselves were in some other language.

                                      Which sucked because I'm the kind of guy that thinks a task like refactoring millions of lines of legacy code into a more modern language would be fun (or satisfying at least). Phase 1 would be a 1:1 conversion (probably involving implementing various old language features in the new language or assembly to do it piece by piece), followed by phase 2 which would be a full redesign and rewrite, using the knowledge from phase 1 to ensue full feature parity. Because "we rewrote software but the new version doesn't do x, y, z that the old one did" sucks. Glances at Blizzard.

                                      C 1 Reply Last reply
                                      5
                                      • B [email protected]

                                        I can't recall if it was COBOL or FORTRAN, but I tried learning one of them after being pretty confident in picking up any other programming language I've tried to learn, including assembly (wouldn't want to use that for large projects but I've written context switches and such), but I ended up giving up because it felt like the learning materials themselves were in some other language.

                                        Which sucked because I'm the kind of guy that thinks a task like refactoring millions of lines of legacy code into a more modern language would be fun (or satisfying at least). Phase 1 would be a 1:1 conversion (probably involving implementing various old language features in the new language or assembly to do it piece by piece), followed by phase 2 which would be a full redesign and rewrite, using the knowledge from phase 1 to ensue full feature parity. Because "we rewrote software but the new version doesn't do x, y, z that the old one did" sucks. Glances at Blizzard.

                                        C This user is from outside of this forum
                                        C This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #29

                                        FORTRAN is godawful, I can only image what COBOL is like. They're my counter to the people think languages essentially don't matter. No guys, there has been progress over the eras.

                                        1 Reply Last reply
                                        2
                                        • E [email protected]
                                          This post did not contain any content.
                                          mercano@lemmy.worldM This user is from outside of this forum
                                          mercano@lemmy.worldM This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #30

                                          When “What idiot wrote this?” is replaced by “I should call my mom.”

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


                                          • Login

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