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. Other Discussions
  3. The Weird and The Wonderful
  4. Size Matters Take Two

Size Matters Take Two

Scheduled Pinned Locked Moved The Weird and The Wonderful
performance
10 Posts 10 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.
  • P Offline
    P Offline
    Paul Hooper
    wrote on last edited by
    #1

    I spent a VERY productive day today refactoring some code which I originally wrote in 1988 (22 years between code reviews!). The code reduced in size by about 90% once all the superfluous code was removed - superfluous now, vital when the code was originally written to get around 16 bit memory addressing and CPU speed issues. I can't believe the hoops I used to have to jump through to get things working. You youngsters don't know how easy you have it! Luckily, I had the forethought to surround large sections of code with //HACK tags explaining why some of these strange things were being done. This turned out to be one of the most time-saving coding guidelines I ever implemented! Spelling

    Paul Hooper If you spend your whole life looking over your shoulder, they will get you from the front instead.

    R J P G 4 Replies Last reply
    0
    • P Paul Hooper

      I spent a VERY productive day today refactoring some code which I originally wrote in 1988 (22 years between code reviews!). The code reduced in size by about 90% once all the superfluous code was removed - superfluous now, vital when the code was originally written to get around 16 bit memory addressing and CPU speed issues. I can't believe the hoops I used to have to jump through to get things working. You youngsters don't know how easy you have it! Luckily, I had the forethought to surround large sections of code with //HACK tags explaining why some of these strange things were being done. This turned out to be one of the most time-saving coding guidelines I ever implemented! Spelling

      Paul Hooper If you spend your whole life looking over your shoulder, they will get you from the front instead.

      R Offline
      R Offline
      ricmil42
      wrote on last edited by
      #2

      Paul Hooper wrote:

      You youngsters don't know how easy you have it!

      Well in my day we had to program using binary switches. And we liked it! :)

      L N 2 Replies Last reply
      0
      • P Paul Hooper

        I spent a VERY productive day today refactoring some code which I originally wrote in 1988 (22 years between code reviews!). The code reduced in size by about 90% once all the superfluous code was removed - superfluous now, vital when the code was originally written to get around 16 bit memory addressing and CPU speed issues. I can't believe the hoops I used to have to jump through to get things working. You youngsters don't know how easy you have it! Luckily, I had the forethought to surround large sections of code with //HACK tags explaining why some of these strange things were being done. This turned out to be one of the most time-saving coding guidelines I ever implemented! Spelling

        Paul Hooper If you spend your whole life looking over your shoulder, they will get you from the front instead.

        J Offline
        J Offline
        Jeroen De Dauw
        wrote on last edited by
        #3

        So what's the horror? :)

        Jeroen De Dauw
        Blog ; Wiki

        D 1 Reply Last reply
        0
        • R ricmil42

          Paul Hooper wrote:

          You youngsters don't know how easy you have it!

          Well in my day we had to program using binary switches. And we liked it! :)

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

          My first computer's main improvement over older models was a kex keypad to replace the switches, but nothing beats typing in machine code programs directly :)

          A while ago he asked me what he should have printed on my business cards. I said 'Wizard'. I read books which nobody else understand. Then I do something which nobody understands. After that the computer does something which nobody understands. When asked, I say things about the results which nobody understand. But everybody expects miracles from me on a regular basis. Looks to me like the classical definition of a wizard.

          1 Reply Last reply
          0
          • J Jeroen De Dauw

            So what's the horror? :)

            Jeroen De Dauw
            Blog ; Wiki

            D Offline
            D Offline
            Dan Mos
            wrote on last edited by
            #5

            This is more like a past action thriller!!! :)

            Just an irritated, ranting son of ... an IT guy. At your trolling services

            1 Reply Last reply
            0
            • R ricmil42

              Paul Hooper wrote:

              You youngsters don't know how easy you have it!

              Well in my day we had to program using binary switches. And we liked it! :)

              N Offline
              N Offline
              Nagy Vilmos
              wrote on last edited by
              #6

              ricmil42 wrote:

              in my day we had to program using binary switches

              You had binary! You lucky get! When I started out I had to write an entire batch processes using only 1's. Scratched onto papyrus. Using Mr Babage's pocket knife!


              Panic, Chaos, Destruction. My work here is done. or "Drink. Get drunk. Fall over." - P O'H

              L H 2 Replies Last reply
              0
              • N Nagy Vilmos

                ricmil42 wrote:

                in my day we had to program using binary switches

                You had binary! You lucky get! When I started out I had to write an entire batch processes using only 1's. Scratched onto papyrus. Using Mr Babage's pocket knife!


                Panic, Chaos, Destruction. My work here is done. or "Drink. Get drunk. Fall over." - P O'H

                L Offline
                L Offline
                Luc Pattyn
                wrote on last edited by
                #7

                Given your age, your memory still serves you well. Or are you having another episode? :)

                Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                I only read formatted code with indentation, so please use PRE tags for code snippets.


                I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


                1 Reply Last reply
                0
                • P Paul Hooper

                  I spent a VERY productive day today refactoring some code which I originally wrote in 1988 (22 years between code reviews!). The code reduced in size by about 90% once all the superfluous code was removed - superfluous now, vital when the code was originally written to get around 16 bit memory addressing and CPU speed issues. I can't believe the hoops I used to have to jump through to get things working. You youngsters don't know how easy you have it! Luckily, I had the forethought to surround large sections of code with //HACK tags explaining why some of these strange things were being done. This turned out to be one of the most time-saving coding guidelines I ever implemented! Spelling

                  Paul Hooper If you spend your whole life looking over your shoulder, they will get you from the front instead.

                  P Offline
                  P Offline
                  peterchen
                  wrote on last edited by
                  #8

                  Paul Hooper wrote:

                  You youngsters don't know how easy you have it!

                  OTOH, they have VS2010. :rolleyes:

                  Agh! Reality! My Archnemesis![^]
                  | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server.

                  1 Reply Last reply
                  0
                  • P Paul Hooper

                    I spent a VERY productive day today refactoring some code which I originally wrote in 1988 (22 years between code reviews!). The code reduced in size by about 90% once all the superfluous code was removed - superfluous now, vital when the code was originally written to get around 16 bit memory addressing and CPU speed issues. I can't believe the hoops I used to have to jump through to get things working. You youngsters don't know how easy you have it! Luckily, I had the forethought to surround large sections of code with //HACK tags explaining why some of these strange things were being done. This turned out to be one of the most time-saving coding guidelines I ever implemented! Spelling

                    Paul Hooper If you spend your whole life looking over your shoulder, they will get you from the front instead.

                    G Offline
                    G Offline
                    Gary R Wheeler
                    wrote on last edited by
                    #9

                    In my career, I have made two deep forays into hell required by the technology at hand. Both involved 16-bit memory addressing and the segmented memory model. If I had a time machine, it's a toss-up which I would do: Go back in time and smack myself up the side of the head about a couple personal decisions, or go back and kill whoever thought the segmented memory models were a cool idea.

                    Software Zen: delete this;
                    Fold With Us![^]

                    1 Reply Last reply
                    0
                    • N Nagy Vilmos

                      ricmil42 wrote:

                      in my day we had to program using binary switches

                      You had binary! You lucky get! When I started out I had to write an entire batch processes using only 1's. Scratched onto papyrus. Using Mr Babage's pocket knife!


                      Panic, Chaos, Destruction. My work here is done. or "Drink. Get drunk. Fall over." - P O'H

                      H Offline
                      H Offline
                      Hired Mind
                      wrote on last edited by
                      #10

                      In my day, we had to whistle into a modem!

                      Before .NET 4.0, object Universe = NULL;

                      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