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. Other People's Code

Other People's Code

Scheduled Pinned Locked Moved The Lounge
csswpf
34 Posts 19 Posters 2 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 Daniel Pfeffer

    Eddy Vluggen wrote:

    AND IF THERE ANY GODS LEFT TO CHALLENGE US, BISMALLAH, THEY BETTER LEARN QUICKLY.

    OT: is this a quote from somewhere? I'd be interested in knowing the source.

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

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

    Not a quote; I just have weird dreams. Currently reading "Small Gods" from Pratchett.

    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

    1 Reply Last reply
    0
    • H honey the codewitch

      Maybe you feel similar about it as I do - before approaching Other People's Code, poke it with a stick from a distance. As I've coded I've become less judgmental of other styles, but not of lack of craft (code with anti-patterns, obvious bugs, or just rube goldberg contraptions) Still at the end of the day, if you build something, you should be forced to use it/rely on it. Suddenly software would be a lot less rickety. :laugh:

      Real programmers use butterflies

      U Offline
      U Offline
      User 10303838
      wrote on last edited by
      #25

      My first bosses advice was "Write code like it will be maintained by a psychopath that knows where you live"

      B 1 Reply Last reply
      0
      • U User 10303838

        My first bosses advice was "Write code like it will be maintained by a psychopath that knows where you live"

        B Offline
        B Offline
        BryanFazekas
        wrote on last edited by
        #26

        ditto -- I was told the same exact quote

        1 Reply Last reply
        0
        • N Nelek

          honey the codewitch wrote:

          You can do some proper damage if you're strategic about it.

          I can't be stratetgic with things that seem random. If I could I would play lottery. :rolleyes: :-D

          M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

          D Offline
          D Offline
          davecasdf
          wrote on last edited by
          #27

          But it is a very valuable ?skill?. Frank got Ed to try out his database program -- then fixed it -- repeat. Made a good team.

          N 1 Reply Last reply
          0
          • H honey the codewitch

            Maybe you feel similar about it as I do - before approaching Other People's Code, poke it with a stick from a distance. As I've coded I've become less judgmental of other styles, but not of lack of craft (code with anti-patterns, obvious bugs, or just rube goldberg contraptions) Still at the end of the day, if you build something, you should be forced to use it/rely on it. Suddenly software would be a lot less rickety. :laugh:

            Real programmers use butterflies

            A Offline
            A Offline
            agolddog
            wrote on last edited by
            #28

            Disagree with your assertion. For the most part, people who write obtuse software which isn't fault-tolerant think their code is fine. Herp-derp, I'll just hard-code this value, won't attempt to handle any exceptions, etc, etc, etc. Generally, it's not that these people even understand how bad their code/designs are. Yes, there are occasions where somebody understands that (sometimes with "this feels wrong, couldn't figure out the right way, here's what I'm trying to do"-type comments), but that's the exception to the rule. Thus, most people will think their code is just fine, because it kinda-sorta works given the exact right conditions.

            H 1 Reply Last reply
            0
            • A agolddog

              Disagree with your assertion. For the most part, people who write obtuse software which isn't fault-tolerant think their code is fine. Herp-derp, I'll just hard-code this value, won't attempt to handle any exceptions, etc, etc, etc. Generally, it's not that these people even understand how bad their code/designs are. Yes, there are occasions where somebody understands that (sometimes with "this feels wrong, couldn't figure out the right way, here's what I'm trying to do"-type comments), but that's the exception to the rule. Thus, most people will think their code is just fine, because it kinda-sorta works given the exact right conditions.

              H Offline
              H Offline
              honey the codewitch
              wrote on last edited by
              #29

              I know my code is not fine for others. For starters, my methods are too long. My post is tongue in cheek.

              Real programmers use butterflies

              1 Reply Last reply
              0
              • H honey the codewitch

                Maybe you feel similar about it as I do - before approaching Other People's Code, poke it with a stick from a distance. As I've coded I've become less judgmental of other styles, but not of lack of craft (code with anti-patterns, obvious bugs, or just rube goldberg contraptions) Still at the end of the day, if you build something, you should be forced to use it/rely on it. Suddenly software would be a lot less rickety. :laugh:

                Real programmers use butterflies

                M Offline
                M Offline
                Matt McGuire
                wrote on last edited by
                #30

                I kid you not, I worked on someone else c# code base that was trying to run dependence injection at every level, everything was an interface, even if there was one concrete class implementing the interface. I mapped one API call through 14 layers of calls to get to the root code that was hard coded to return "True" (not a bool, but a string). It would take me hours to find where the call's implantation wound up. The project solution consisted of 60+ DLL projects, some of which had no code and was only a stub out for an interface implementing another interface referenced in another project. every function had a try/catch with a logger that did not log the error or any variables, just the function name where the error occurred and a time stamp, nothing else. so when you have say 10 functions called "Update" in each of the 60+ projects, which one did it crash on, and why? tried to map it out, gave up after a week. Hair pulling time.

                H 1 Reply Last reply
                0
                • M Matt McGuire

                  I kid you not, I worked on someone else c# code base that was trying to run dependence injection at every level, everything was an interface, even if there was one concrete class implementing the interface. I mapped one API call through 14 layers of calls to get to the root code that was hard coded to return "True" (not a bool, but a string). It would take me hours to find where the call's implantation wound up. The project solution consisted of 60+ DLL projects, some of which had no code and was only a stub out for an interface implementing another interface referenced in another project. every function had a try/catch with a logger that did not log the error or any variables, just the function name where the error occurred and a time stamp, nothing else. so when you have say 10 functions called "Update" in each of the 60+ projects, which one did it crash on, and why? tried to map it out, gave up after a week. Hair pulling time.

                  H Offline
                  H Offline
                  honey the codewitch
                  wrote on last edited by
                  #31

                  sounds frustrating. kind of makes me glad i left the field

                  Real programmers use butterflies

                  M 1 Reply Last reply
                  0
                  • D davecasdf

                    But it is a very valuable ?skill?. Frank got Ed to try out his database program -- then fixed it -- repeat. Made a good team.

                    N Offline
                    N Offline
                    Nelek
                    wrote on last edited by
                    #32

                    Yeah, in that cases yes. I agree. But it annoys the hell out of me when I got hit by things that nobody in my range can repair and I have to call the IT Hotline to open a ticket. 99% of the time, they don'T believe what I say. They have to remote log in, then try some stuff (that 99% of the times bring nothing), then I have to show them what is or how comes (at least most of the times I can repeat the problems) the problem, then they try another bunch of "pre-compiled" steps and then say... "I will pass the ticket to the level 2 support"... and then start over again. I have had tickets that went up to level 4 and I was still being more informed that the supposed specialist. The problem is... I have almost no rights to do things that could be done to fix it.

                    M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                    1 Reply Last reply
                    0
                    • Z ZurdoDev

                      honey the codewitch wrote:

                      if you build something, you should be forced to use it/rely on it.

                      I'm glad that's not the case for home builders. :-D

                      Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

                      C Offline
                      C Offline
                      charlieg
                      wrote on last edited by
                      #33

                      lol, actually "builder's own home" in a sales description should make you run. I learned the hard way (a long time ago) it was his first house. We both learned much.

                      Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                      1 Reply Last reply
                      0
                      • H honey the codewitch

                        sounds frustrating. kind of makes me glad i left the field

                        Real programmers use butterflies

                        M Offline
                        M Offline
                        Matt McGuire
                        wrote on last edited by
                        #34

                        I ended up moving on to a different company. apparently I was eventually going to be the main dev for that code base, so the dev that wrote it could work on higher level ideas, and that's when I knew I had to move on.

                        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