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 Back Room
  4. Stop suggesting STL please

Stop suggesting STL please

Scheduled Pinned Locked Moved The Back Room
c++questiongraphicsperformancehelp
17 Posts 11 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
    Rein Hillmann
    wrote on last edited by
    #1

    One of my pet peeves at the moment is seeing someone ask a question about a memory leak or other C/C++ question and 90% of the replies being: "Use STL", "Use a vector", "You should really use the STL string class" etc.. etc.. Could everyone please stop suggesting such rubbish!!?? Yes, STL has its place and it's good to use it. But suggesting it as a solution to every C/C++ problem is like suggesting that someone buys a new car when they need to do an oil change on their current car. If I ask for advice on delete[], complex character arrays or any other question not related to STL, please spare me the bulls$#t of telling me about STL. Thanks.

    A C C T M 7 Replies Last reply
    0
    • R Rein Hillmann

      One of my pet peeves at the moment is seeing someone ask a question about a memory leak or other C/C++ question and 90% of the replies being: "Use STL", "Use a vector", "You should really use the STL string class" etc.. etc.. Could everyone please stop suggesting such rubbish!!?? Yes, STL has its place and it's good to use it. But suggesting it as a solution to every C/C++ problem is like suggesting that someone buys a new car when they need to do an oil change on their current car. If I ask for advice on delete[], complex character arrays or any other question not related to STL, please spare me the bulls$#t of telling me about STL. Thanks.

      A Offline
      A Offline
      Anders Molin
      wrote on last edited by
      #2

      I totally agree - Anders Money talks, but all mine ever says is "Goodbye!" http://SourceLocker.net[^] SourceControl and DefectTracker Project. nsms@spyf.dk <- Spam Collecting ;)

      1 Reply Last reply
      0
      • R Rein Hillmann

        One of my pet peeves at the moment is seeing someone ask a question about a memory leak or other C/C++ question and 90% of the replies being: "Use STL", "Use a vector", "You should really use the STL string class" etc.. etc.. Could everyone please stop suggesting such rubbish!!?? Yes, STL has its place and it's good to use it. But suggesting it as a solution to every C/C++ problem is like suggesting that someone buys a new car when they need to do an oil change on their current car. If I ask for advice on delete[], complex character arrays or any other question not related to STL, please spare me the bulls$#t of telling me about STL. Thanks.

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

        Reinout Hillmann wrote: One of my pet peeves at the moment is seeing someone ask a question about a memory leak or other C/C++ question and 90% of the replies being: "Use STL", "Use a vector", "You should really use the STL string class" etc.. etc.. i think there's a class in the STL that can supress these messages. -c CheeseWeasle

        N 1 Reply Last reply
        0
        • C Chris Losinger

          Reinout Hillmann wrote: One of my pet peeves at the moment is seeing someone ask a question about a memory leak or other C/C++ question and 90% of the replies being: "Use STL", "Use a vector", "You should really use the STL string class" etc.. etc.. i think there's a class in the STL that can supress these messages. -c CheeseWeasle

          N Offline
          N Offline
          Nick Parker
          wrote on last edited by
          #4

          :laugh: -Nick Parker

          1 Reply Last reply
          0
          • R Rein Hillmann

            One of my pet peeves at the moment is seeing someone ask a question about a memory leak or other C/C++ question and 90% of the replies being: "Use STL", "Use a vector", "You should really use the STL string class" etc.. etc.. Could everyone please stop suggesting such rubbish!!?? Yes, STL has its place and it's good to use it. But suggesting it as a solution to every C/C++ problem is like suggesting that someone buys a new car when they need to do an oil change on their current car. If I ask for advice on delete[], complex character arrays or any other question not related to STL, please spare me the bulls$#t of telling me about STL. Thanks.

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            Cool - seeing as I hardly post here anymore, I'm glad that others are helping people learn what C++ is, so they stop using C memory management and ugly Microsoft containers. Yes, there is a time for C style memory usage, for example where performance really matters, but if you're smart enough to know that is the case, you should say so in your question, because a lot of people are plain stupid, or ignorant, or both, and have no idea the STL is even there. Apart from that, if you don't like the answers you get for free, stop asking questions. Christian NO MATTER HOW MUCH BIG IS THE WORD SIZE ,THE DATA MUCT BE TRANSPORTED INTO THE CPU. - Vinod Sharma Anonymous wrote: OK. I read a c++ book. Or...a bit of it anyway. I'm sick of that evil looking console window. I think you are a good candidate for Visual Basic. - Nemanja Trifunovic

            A 1 Reply Last reply
            0
            • R Rein Hillmann

              One of my pet peeves at the moment is seeing someone ask a question about a memory leak or other C/C++ question and 90% of the replies being: "Use STL", "Use a vector", "You should really use the STL string class" etc.. etc.. Could everyone please stop suggesting such rubbish!!?? Yes, STL has its place and it's good to use it. But suggesting it as a solution to every C/C++ problem is like suggesting that someone buys a new car when they need to do an oil change on their current car. If I ask for advice on delete[], complex character arrays or any other question not related to STL, please spare me the bulls$#t of telling me about STL. Thanks.

              T Offline
              T Offline
              Terry ONolley
              wrote on last edited by
              #6

              Reinout Hillmann wrote: If I ask for advice on delete[], complex character arrays or any other question not related to STL, please spare me the bulls$#t of telling me about STL Good luck! One of the things I hate is when you ask a question like "How do you make a widget fly?" and instead of answering the question, they'll say "Why would you want a flying widget?" I love it. God help me I love it!!!!!!



              1 Reply Last reply
              0
              • R Rein Hillmann

                One of my pet peeves at the moment is seeing someone ask a question about a memory leak or other C/C++ question and 90% of the replies being: "Use STL", "Use a vector", "You should really use the STL string class" etc.. etc.. Could everyone please stop suggesting such rubbish!!?? Yes, STL has its place and it's good to use it. But suggesting it as a solution to every C/C++ problem is like suggesting that someone buys a new car when they need to do an oil change on their current car. If I ask for advice on delete[], complex character arrays or any other question not related to STL, please spare me the bulls$#t of telling me about STL. Thanks.

                M Offline
                M Offline
                Marc Clifton
                wrote on last edited by
                #7

                Reinout Hillmann wrote: Could everyone please stop suggesting such rubbish!!?? I think you're problem can be solved with STL. Marc Every line of code is a liability - Taka Muraoka
                A doable project is one that is small enough to be done quickly and big enough to be interesting - Ken Orr
                Latest AAL Article My blog

                A 1 Reply Last reply
                0
                • R Rein Hillmann

                  One of my pet peeves at the moment is seeing someone ask a question about a memory leak or other C/C++ question and 90% of the replies being: "Use STL", "Use a vector", "You should really use the STL string class" etc.. etc.. Could everyone please stop suggesting such rubbish!!?? Yes, STL has its place and it's good to use it. But suggesting it as a solution to every C/C++ problem is like suggesting that someone buys a new car when they need to do an oil change on their current car. If I ask for advice on delete[], complex character arrays or any other question not related to STL, please spare me the bulls$#t of telling me about STL. Thanks.

                  C Offline
                  C Offline
                  Chris Maunder
                  wrote on last edited by
                  #8

                  Hear, hear. Clearly people should be telling you to use Managed C++ instead. :-D cheers, Chris Maunder

                  A G 2 Replies Last reply
                  0
                  • R Rein Hillmann

                    One of my pet peeves at the moment is seeing someone ask a question about a memory leak or other C/C++ question and 90% of the replies being: "Use STL", "Use a vector", "You should really use the STL string class" etc.. etc.. Could everyone please stop suggesting such rubbish!!?? Yes, STL has its place and it's good to use it. But suggesting it as a solution to every C/C++ problem is like suggesting that someone buys a new car when they need to do an oil change on their current car. If I ask for advice on delete[], complex character arrays or any other question not related to STL, please spare me the bulls$#t of telling me about STL. Thanks.

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

                    But the STL was designed to solve each and every C/C++ problem! ;P


                    "Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
                    sighist | Agile Programming | doxygen

                    1 Reply Last reply
                    0
                    • C Christian Graus

                      Cool - seeing as I hardly post here anymore, I'm glad that others are helping people learn what C++ is, so they stop using C memory management and ugly Microsoft containers. Yes, there is a time for C style memory usage, for example where performance really matters, but if you're smart enough to know that is the case, you should say so in your question, because a lot of people are plain stupid, or ignorant, or both, and have no idea the STL is even there. Apart from that, if you don't like the answers you get for free, stop asking questions. Christian NO MATTER HOW MUCH BIG IS THE WORD SIZE ,THE DATA MUCT BE TRANSPORTED INTO THE CPU. - Vinod Sharma Anonymous wrote: OK. I read a c++ book. Or...a bit of it anyway. I'm sick of that evil looking console window. I think you are a good candidate for Visual Basic. - Nemanja Trifunovic

                      A Offline
                      A Offline
                      Anonymously
                      wrote on last edited by
                      #10

                      Christian Graus wrote: because a lot of people are plain stupid, or ignorant, or both, and have no idea the STL is even there On the other hand, suggesting STL to people who are plain stupid or ignorant does not demonstrate any intellegience either. ;P

                      C 1 Reply Last reply
                      0
                      • C Chris Maunder

                        Hear, hear. Clearly people should be telling you to use Managed C++ instead. :-D cheers, Chris Maunder

                        A Offline
                        A Offline
                        Anonymously
                        wrote on last edited by
                        #11

                        Chris Maunder wrote: Clearly people should be telling you to use Managed C++ instead. Now all we need is STL to solve the new problems caused by MC++. ;)

                        1 Reply Last reply
                        0
                        • M Marc Clifton

                          Reinout Hillmann wrote: Could everyone please stop suggesting such rubbish!!?? I think you're problem can be solved with STL. Marc Every line of code is a liability - Taka Muraoka
                          A doable project is one that is small enough to be done quickly and big enough to be interesting - Ken Orr
                          Latest AAL Article My blog

                          A Offline
                          A Offline
                          Anonymously
                          wrote on last edited by
                          #12

                          Marc Clifton wrote: I think you're problem can be solved with STL. Marc Every line of code is a liability - Taka Muraoka STL, a liability factory :)

                          M 1 Reply Last reply
                          0
                          • A Anonymously

                            Marc Clifton wrote: I think you're problem can be solved with STL. Marc Every line of code is a liability - Taka Muraoka STL, a liability factory :)

                            M Offline
                            M Offline
                            Marc Clifton
                            wrote on last edited by
                            #13

                            Anonymously wrote: STL, a liability factory Ain't that the truth. I've seen STL soooo abused. Vectors within maps within vectors. And with a little thought, the whole thing could have been simplified to a list of structs. Marc Every line of code is a liability - Taka Muraoka
                            A doable project is one that is small enough to be done quickly and big enough to be interesting - Ken Orr
                            Latest AAL Article My blog

                            1 Reply Last reply
                            0
                            • C Chris Maunder

                              Hear, hear. Clearly people should be telling you to use Managed C++ instead. :-D cheers, Chris Maunder

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

                              You've been assimilated into the Collective, haven't you?


                              Software Zen: delete this;

                              C 1 Reply Last reply
                              0
                              • G Gary R Wheeler

                                You've been assimilated into the Collective, haven't you?


                                Software Zen: delete this;

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

                                I have drunk the cool-aid and found it wan and bitter. cheers, Chris Maunder

                                C 1 Reply Last reply
                                0
                                • A Anonymously

                                  Christian Graus wrote: because a lot of people are plain stupid, or ignorant, or both, and have no idea the STL is even there On the other hand, suggesting STL to people who are plain stupid or ignorant does not demonstrate any intellegience either. ;P

                                  C Offline
                                  C Offline
                                  Christian Graus
                                  wrote on last edited by
                                  #16

                                  I can see why you'd post this anonymously. Christian NO MATTER HOW MUCH BIG IS THE WORD SIZE ,THE DATA MUCT BE TRANSPORTED INTO THE CPU. - Vinod Sharma Anonymous wrote: OK. I read a c++ book. Or...a bit of it anyway. I'm sick of that evil looking console window. I think you are a good candidate for Visual Basic. - Nemanja Trifunovic

                                  1 Reply Last reply
                                  0
                                  • C Chris Maunder

                                    I have drunk the cool-aid and found it wan and bitter. cheers, Chris Maunder

                                    C Offline
                                    C Offline
                                    Christian Graus
                                    wrote on last edited by
                                    #17

                                    I have no idea what this means, but I love it. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

                                    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