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. For The Love Of God, Please Let Me Override Your Method

For The Love Of God, Please Let Me Override Your Method

Scheduled Pinned Locked Moved The Lounge
question
31 Posts 17 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.
  • R Offline
    R Offline
    Robert Vandenberg Huang
    wrote on last edited by
    #1

    I've received hundred of enterprise libraries directly depending on other third-parties. Do I have to include log4net just because I need to use your library? Do I have to register an unknown unmanaged DLL as a part of my project output just because your code needs to access a system setting? For the love of god, and world peace, please do not make your library directly depend on third-party components. Do let your users override them.

    P W J A T 6 Replies Last reply
    0
    • R Robert Vandenberg Huang

      I've received hundred of enterprise libraries directly depending on other third-parties. Do I have to include log4net just because I need to use your library? Do I have to register an unknown unmanaged DLL as a part of my project output just because your code needs to access a system setting? For the love of god, and world peace, please do not make your library directly depend on third-party components. Do let your users override them.

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #2

      Use of third-party libraries is a cry for help. Plus, libraries shouldn't log. They should just throw Exceptions and the application can log or otherwise do what it likes with them. Another possibility would be for the library to provide an Event that it calls when it encounters something interesting but not fatal.

      S N J 3 Replies Last reply
      0
      • P PIEBALDconsult

        Use of third-party libraries is a cry for help. Plus, libraries shouldn't log. They should just throw Exceptions and the application can log or otherwise do what it likes with them. Another possibility would be for the library to provide an Event that it calls when it encounters something interesting but not fatal.

        S Offline
        S Offline
        Smart K8
        wrote on last edited by
        #3

        .NET framework are the third-party libraries. :-\

        P 1 Reply Last reply
        0
        • S Smart K8

          .NET framework are the third-party libraries. :-\

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          Nope; second-party.

          S Z 2 Replies Last reply
          0
          • P PIEBALDconsult

            Nope; second-party.

            S Offline
            S Offline
            Smart K8
            wrote on last edited by
            #5

            You're first-part and second-party is your client (or target audience). ;)

            P 1 Reply Last reply
            0
            • P PIEBALDconsult

              Nope; second-party.

              Z Offline
              Z Offline
              ZurdoDev
              wrote on last edited by
              #6

              PIEBALDconsult wrote:

              Nope; second-party.

              Third party. Second party. Who cares? Working with .Net is a party!!!! Yoohooo!!! :thumbsup::thumbsup::thumbsup:

              There are only 10 types of people in the world, those who understand binary and those who don't.

              OriginalGriffO K 2 Replies Last reply
              0
              • Z ZurdoDev

                PIEBALDconsult wrote:

                Nope; second-party.

                Third party. Second party. Who cares? Working with .Net is a party!!!! Yoohooo!!! :thumbsup::thumbsup::thumbsup:

                There are only 10 types of people in the world, those who understand binary and those who don't.

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

                If it was a party, there would be girls here! :sigh:

                Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                "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

                L S P 3 Replies Last reply
                0
                • Z ZurdoDev

                  PIEBALDconsult wrote:

                  Nope; second-party.

                  Third party. Second party. Who cares? Working with .Net is a party!!!! Yoohooo!!! :thumbsup::thumbsup::thumbsup:

                  There are only 10 types of people in the world, those who understand binary and those who don't.

                  K Offline
                  K Offline
                  Kenneth Haugland
                  wrote on last edited by
                  #8

                  Fun Fun Fun![^] :laugh:

                  N M 2 Replies Last reply
                  0
                  • OriginalGriffO OriginalGriff

                    If it was a party, there would be girls here! :sigh:

                    Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

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

                    I fully agree ;P :laugh:

                    1 Reply Last reply
                    0
                    • OriginalGriffO OriginalGriff

                      If it was a party, there would be girls here! :sigh:

                      Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                      S Offline
                      S Offline
                      Smart K8
                      wrote on last edited by
                      #10

                      AddUsersToRole(women, partyGoers) :D

                      J 1 Reply Last reply
                      0
                      • S Smart K8

                        You're first-part and second-party is your client (or target audience). ;)

                        P Offline
                        P Offline
                        PIEBALDconsult
                        wrote on last edited by
                        #11

                        I'm the first-party; the tools/framework/platform I choose to work on are second-party; any tools that help work with those tools are third-party. Any clients or potential customers would be the zeroth party.

                        1 Reply Last reply
                        0
                        • OriginalGriffO OriginalGriff

                          If it was a party, there would be girls here! :sigh:

                          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                          P Offline
                          P Offline
                          PIEBALDconsult
                          wrote on last edited by
                          #12

                          You're thinking of the after-hours party.

                          1 Reply Last reply
                          0
                          • S Smart K8

                            AddUsersToRole(women, partyGoers) :D

                            J Offline
                            J Offline
                            Jeff Buxton
                            wrote on last edited by
                            #13

                            Exception.GirlsNotFound

                            S 1 Reply Last reply
                            0
                            • R Robert Vandenberg Huang

                              I've received hundred of enterprise libraries directly depending on other third-parties. Do I have to include log4net just because I need to use your library? Do I have to register an unknown unmanaged DLL as a part of my project output just because your code needs to access a system setting? For the love of god, and world peace, please do not make your library directly depend on third-party components. Do let your users override them.

                              W Offline
                              W Offline
                              Wonde Tadesse
                              wrote on last edited by
                              #14

                              Quote:

                              Do I have to include log4net just because I need to use your library?

                              Do as the spec says.

                              Wonde Tadesse

                              1 Reply Last reply
                              0
                              • J Jeff Buxton

                                Exception.GirlsNotFound

                                S Offline
                                S Offline
                                Smart K8
                                wrote on last edited by
                                #15

                                Oh boy. :doh:

                                1 Reply Last reply
                                0
                                • R Robert Vandenberg Huang

                                  I've received hundred of enterprise libraries directly depending on other third-parties. Do I have to include log4net just because I need to use your library? Do I have to register an unknown unmanaged DLL as a part of my project output just because your code needs to access a system setting? For the love of god, and world peace, please do not make your library directly depend on third-party components. Do let your users override them.

                                  J Offline
                                  J Offline
                                  Jeremy Falcon
                                  wrote on last edited by
                                  #16

                                  Oh wait, but .NET was supposed to end DLL hell.

                                  Jeremy Falcon

                                  P 1 Reply Last reply
                                  0
                                  • J Jeremy Falcon

                                    Oh wait, but .NET was supposed to end DLL hell.

                                    Jeremy Falcon

                                    P Offline
                                    P Offline
                                    PIEBALDconsult
                                    wrote on last edited by
                                    #17

                                    GAC!

                                    1 Reply Last reply
                                    0
                                    • P PIEBALDconsult

                                      Use of third-party libraries is a cry for help. Plus, libraries shouldn't log. They should just throw Exceptions and the application can log or otherwise do what it likes with them. Another possibility would be for the library to provide an Event that it calls when it encounters something interesting but not fatal.

                                      N Offline
                                      N Offline
                                      newton saber
                                      wrote on last edited by
                                      #18

                                      Good points. Good you point these out. We just want the functionality the library provides not all the overhead.

                                      1 Reply Last reply
                                      0
                                      • K Kenneth Haugland

                                        Fun Fun Fun![^] :laugh:

                                        N Offline
                                        N Offline
                                        newton saber
                                        wrote on last edited by
                                        #19

                                        That is a great tune. Thanks for sharing. Amazing singer and an amazing song. No one else like her.

                                        K 1 Reply Last reply
                                        0
                                        • N newton saber

                                          That is a great tune. Thanks for sharing. Amazing singer and an amazing song. No one else like her.

                                          K Offline
                                          K Offline
                                          Kenneth Haugland
                                          wrote on last edited by
                                          #20

                                          Its seen 80 million times, and has 1,6 million downvotes, and 600 thousand upvotes :laugh:

                                          N 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