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. Programming question

Programming question

Scheduled Pinned Locked Moved The Lounge
question
79 Posts 50 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.
  • S Slacker007

    If you are writing an app that no one will see (other devs), do you still follow best practices i.e. creating classes, data access layers, blah, blah, blah? or, do you say f'it and write the app like a retard? i.e. putting all 5-8K lines of code in one form class and calling it a day. I am being asked by a senior dev to do something that I feel is fundamentally wrong as a programmer but he is the "senior" dev and thus must be obeyed.

    Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
    "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

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

    Tell him you're getting a woody, and he'll leave you alone. Trust me on this. EDIT ============== 1-voted AGAIN! Geeze! And to think this isn't even the funniest thing I've posted today... :)

    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
    -----
    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
    -----
    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

    C B L 3 Replies Last reply
    0
    • S Slacker007

      If you are writing an app that no one will see (other devs), do you still follow best practices i.e. creating classes, data access layers, blah, blah, blah? or, do you say f'it and write the app like a retard? i.e. putting all 5-8K lines of code in one form class and calling it a day. I am being asked by a senior dev to do something that I feel is fundamentally wrong as a programmer but he is the "senior" dev and thus must be obeyed.

      Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
      "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

      R Offline
      R Offline
      realJSOP
      wrote on last edited by
      #3

      But seriously... If he's your boss, do as he instructs. If fate is particularly pleased with you, one day, you'll be his boss, and you can have him re-do it the right way. :)

      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
      -----
      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
      -----
      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

      N 1 Reply Last reply
      0
      • S Slacker007

        If you are writing an app that no one will see (other devs), do you still follow best practices i.e. creating classes, data access layers, blah, blah, blah? or, do you say f'it and write the app like a retard? i.e. putting all 5-8K lines of code in one form class and calling it a day. I am being asked by a senior dev to do something that I feel is fundamentally wrong as a programmer but he is the "senior" dev and thus must be obeyed.

        Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
        "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

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

        For God's sake, do it right! I have seen too many /quick jobs/ that evolved from helping one person to becoming used company wide. Where the code is shyte, the extensibility is greatly reduced and at some point the whole shedangs need to be redone. [edit] Looks like I can not spell today.


        Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

        R S OriginalGriffO G H 10 Replies Last reply
        0
        • S Slacker007

          If you are writing an app that no one will see (other devs), do you still follow best practices i.e. creating classes, data access layers, blah, blah, blah? or, do you say f'it and write the app like a retard? i.e. putting all 5-8K lines of code in one form class and calling it a day. I am being asked by a senior dev to do something that I feel is fundamentally wrong as a programmer but he is the "senior" dev and thus must be obeyed.

          Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
          "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

          I Offline
          I Offline
          i j russell
          wrote on last edited by
          #5

          DO IT PROPERLY! Best practice is called that for a reason. If your Senior dev suggests otherwise, he is an idiot and doesn't deserve to be a professional developer.

          1 Reply Last reply
          0
          • N Nagy Vilmos

            For God's sake, do it right! I have seen too many /quick jobs/ that evolved from helping one person to becoming used company wide. Where the code is shyte, the extensibility is greatly reduced and at some point the whole shedangs need to be redone. [edit] Looks like I can not spell today.


            Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

            R Offline
            R Offline
            RJOberg
            wrote on last edited by
            #6

            Nagy Vilmos wrote:

            For God's sack

            Not sure if that is the right word. And I'm positive that anything further from me will be un-KSS.

            R C 2 Replies Last reply
            0
            • R RJOberg

              Nagy Vilmos wrote:

              For God's sack

              Not sure if that is the right word. And I'm positive that anything further from me will be un-KSS.

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

              RJOberg wrote:

              And I'm positive that anything further from me will be un-KSS.

              GAS.

              ".45 ACP - because shooting twice is just silly" - JSOP, 2010
              -----
              You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
              -----
              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

              R 1 Reply Last reply
              0
              • S Slacker007

                If you are writing an app that no one will see (other devs), do you still follow best practices i.e. creating classes, data access layers, blah, blah, blah? or, do you say f'it and write the app like a retard? i.e. putting all 5-8K lines of code in one form class and calling it a day. I am being asked by a senior dev to do something that I feel is fundamentally wrong as a programmer but he is the "senior" dev and thus must be obeyed.

                Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
                "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

                Mike HankeyM Offline
                Mike HankeyM Offline
                Mike Hankey
                wrote on last edited by
                #8

                I am a professional....I am a professional...I am

                Visual Studio Task List on Steriods - VS2010/AVR Studio 5.0 ToDo Manager Extension

                1 Reply Last reply
                0
                • R realJSOP

                  RJOberg wrote:

                  And I'm positive that anything further from me will be un-KSS.

                  GAS.

                  ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                  -----
                  You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                  -----
                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                  R Offline
                  R Offline
                  RJOberg
                  wrote on last edited by
                  #9

                  Nah, that was over the weekend. :sigh: Edit: Someone doesn't like you today. +5 to counter a silly unibrowed-voter.

                  R 1 Reply Last reply
                  0
                  • N Nagy Vilmos

                    For God's sake, do it right! I have seen too many /quick jobs/ that evolved from helping one person to becoming used company wide. Where the code is shyte, the extensibility is greatly reduced and at some point the whole shedangs need to be redone. [edit] Looks like I can not spell today.


                    Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

                    S Offline
                    S Offline
                    Slacker007
                    wrote on last edited by
                    #10

                    This is why I asked the question a while back...what makes you a senior dev, the fact that you are 400 years old and have been coding since your were 3 years old or the fact that you actually know what the fuck you are doing. This guy is an idiot, i know it.

                    Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
                    "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

                    N A W 3 Replies Last reply
                    0
                    • R realJSOP

                      But seriously... If he's your boss, do as he instructs. If fate is particularly pleased with you, one day, you'll be his boss, and you can have him re-do it the right way. :)

                      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                      -----
                      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                      -----
                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

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

                      You've got a low hanging fruit chasing you...


                      Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

                      R 1 Reply Last reply
                      0
                      • S Slacker007

                        This is why I asked the question a while back...what makes you a senior dev, the fact that you are 400 years old and have been coding since your were 3 years old or the fact that you actually know what the fuck you are doing. This guy is an idiot, i know it.

                        Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
                        "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

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

                        I wouldn't allow myself to write shyte. Apart from anything, if you're doing a quick and dirty project, it is a good time to practice your technique as there is little or no analytical skills involved.


                        Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

                        1 Reply Last reply
                        0
                        • S Slacker007

                          If you are writing an app that no one will see (other devs), do you still follow best practices i.e. creating classes, data access layers, blah, blah, blah? or, do you say f'it and write the app like a retard? i.e. putting all 5-8K lines of code in one form class and calling it a day. I am being asked by a senior dev to do something that I feel is fundamentally wrong as a programmer but he is the "senior" dev and thus must be obeyed.

                          Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
                          "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

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

                          Write it according to your own principles. They might not be right, but at least you can live or die by them. :)

                          ============================== Nothing to say.

                          C 1 Reply Last reply
                          0
                          • N Nagy Vilmos

                            You've got a low hanging fruit chasing you...


                            Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

                            R Offline
                            R Offline
                            realJSOP
                            wrote on last edited by
                            #14

                            Isn't that the same thing as a scrotum?

                            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                            -----
                            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                            -----
                            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                            N S 2 Replies Last reply
                            0
                            • R RJOberg

                              Nagy Vilmos wrote:

                              For God's sack

                              Not sure if that is the right word. And I'm positive that anything further from me will be un-KSS.

                              C Offline
                              C Offline
                              Chris Losinger
                              wrote on last edited by
                              #15

                              OMG. i shall strive to use "for God's sack" always, from now on.

                              image processing toolkits | batch image processing

                              N 1 Reply Last reply
                              0
                              • R realJSOP

                                Isn't that the same thing as a scrotum?

                                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                -----
                                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                -----
                                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

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

                                I believe that a scrotum does have at least some use, unlike troll.


                                Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

                                1 Reply Last reply
                                0
                                • C Chris Losinger

                                  OMG. i shall strive to use "for God's sack" always, from now on.

                                  image processing toolkits | batch image processing

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

                                  It is the celestial scrotum of good luck!


                                  Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

                                  J 1 Reply Last reply
                                  0
                                  • L Lost User

                                    Write it according to your own principles. They might not be right, but at least you can live or die by them. :)

                                    ============================== Nothing to say.

                                    C Offline
                                    C Offline
                                    Corporal Agarn
                                    wrote on last edited by
                                    #18

                                    Erudite_Eric wrote:

                                    or die

                                    Until six months later when you try and edit the code. :)

                                    L S 2 Replies Last reply
                                    0
                                    • R RJOberg

                                      Nah, that was over the weekend. :sigh: Edit: Someone doesn't like you today. +5 to counter a silly unibrowed-voter.

                                      R Offline
                                      R Offline
                                      realJSOP
                                      wrote on last edited by
                                      #19

                                      RJOberg wrote:

                                      Someone doesn't like you today

                                      The funny part is that they down-voted me without even knowing what it meant...

                                      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                      -----
                                      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                      -----
                                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                                      1 Reply Last reply
                                      0
                                      • N Nagy Vilmos

                                        For God's sake, do it right! I have seen too many /quick jobs/ that evolved from helping one person to becoming used company wide. Where the code is shyte, the extensibility is greatly reduced and at some point the whole shedangs need to be redone. [edit] Looks like I can not spell today.


                                        Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

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

                                        Nagy Vilmos wrote:

                                        becoming used company wide

                                        Or worse. I was asked to do a rush demo about 25 years ago - work through the weekend, hurl it together job for demo on Monday. "OK," says I "provided everyone understands it's a demo only, and we will need months to get the full thing working properly." "Yes, yes - just do it" comes the reply. Take the computer home, coffee, pizza, hack hack. Monday the demo is up and limping. What happens? The sales guys sold it and we had to maintain that POS for three years...

                                        Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

                                        "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

                                        R 1 Reply Last reply
                                        0
                                        • S Slacker007

                                          If you are writing an app that no one will see (other devs), do you still follow best practices i.e. creating classes, data access layers, blah, blah, blah? or, do you say f'it and write the app like a retard? i.e. putting all 5-8K lines of code in one form class and calling it a day. I am being asked by a senior dev to do something that I feel is fundamentally wrong as a programmer but he is the "senior" dev and thus must be obeyed.

                                          Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
                                          "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

                                          X Offline
                                          X Offline
                                          Xiangyang Liu
                                          wrote on last edited by
                                          #21

                                          Slacker007 wrote:

                                          i.e. putting all 5-8K lines of code in one form class and calling it a day.

                                          This alone does not make it bad code. I hate pojects that have too many unnecessary interfaces/abstractions, it takes forever for you to find the code that does the real work. Just my two cents.

                                          My Younger Son & His "PET"

                                          A 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