Click here to Skip to main content
15,903,012 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Debuggin a Simple STL Algorithm :: STL Pin
Tim Smith25-Oct-02 13:07
Tim Smith25-Oct-02 13:07 
GeneralRe: Debuggin a Simple STL Algorithm :: STL Pin
valikac25-Oct-02 13:19
valikac25-Oct-02 13:19 
GeneralRe: Debuggin a Simple STL Algorithm :: STL Pin
Tim Smith25-Oct-02 13:30
Tim Smith25-Oct-02 13:30 
GeneralRe: Debuggin a Simple STL Algorithm :: STL Pin
Jörgen Sigvardsson1-Nov-02 0:42
Jörgen Sigvardsson1-Nov-02 0:42 
GeneralRe: Debuggin a Simple STL Algorithm :: STL Pin
Tim Smith25-Oct-02 13:26
Tim Smith25-Oct-02 13:26 
GeneralRe: Correction Pin
Tim Smith26-Oct-02 8:50
Tim Smith26-Oct-02 8:50 
GeneralRe: Correction Pin
valikac28-Oct-02 9:15
valikac28-Oct-02 9:15 
GeneralRe: Correction Pin
Tim Smith29-Oct-02 13:54
Tim Smith29-Oct-02 13:54 
Oh no argument there at all. But to me it all comes down to the trade-offs.

For me, the number of lines of code has never been an issue because it doesn't reflect on the complexity of the code. In this case, the STL version is very basic and easy to understand. So I give it high maintainability marks. However, I have seen many "1 line" STL statements that take 2 days to decode.

I just don't buy into this line that STL produces the "fastest" implementation. It just can't. STL produces the "most generic" implementation which might be fast. In my tests, STL tends to be much slower than doing things the old method. I have also seen little or no evidence that STL functors or algorithms reduce bugs.

If anything, I am here as a devils advocate. I want people to use STL for the right reasons. I use it myself and love it. But lately I have seen way too many people just reading from the "STL Talking Points" memo without ever questioning if the stuff is true.

I am in no way trying to say you are wrong to want to use STL's advanced features. I am just here to place a little seed of doubt so maybe we can add more people to the seemingly short list of people who question some of what is coming out of the standards committee.

Tim Smith

I'm going to patent thought. I have yet to see any prior art.
GeneralRe: Correction Pin
valikac29-Oct-02 14:55
valikac29-Oct-02 14:55 
GeneralATL7 Auto-Generated IDL - Argh! Pin
Simon Steele24-Oct-02 6:24
Simon Steele24-Oct-02 6:24 
GeneralRe: ATL7 Auto-Generated IDL - Argh! Pin
Simon Steele24-Oct-02 23:55
Simon Steele24-Oct-02 23:55 
QuestionWTL ? Pin
puzzolino23-Oct-02 21:44
puzzolino23-Oct-02 21:44 
AnswerRe: WTL ? Pin
Steve S24-Oct-02 2:52
Steve S24-Oct-02 2:52 
GeneralRe: WTL ? Pin
puzzolino24-Oct-02 3:01
puzzolino24-Oct-02 3:01 
GeneralRe: WTL ? Pin
Paul M Watt24-Oct-02 5:09
mentorPaul M Watt24-Oct-02 5:09 
GeneralRe: WTL ? Pin
puzzolino24-Oct-02 5:30
puzzolino24-Oct-02 5:30 
Generalhash_map question Pin
User 988523-Oct-02 9:38
User 988523-Oct-02 9:38 
GeneralRe: hash_map question Pin
Tim Smith23-Oct-02 10:31
Tim Smith23-Oct-02 10:31 
GeneralRe: hash_map question Pin
User 988524-Oct-02 8:21
User 988524-Oct-02 8:21 
GeneralRe: hash_map question Pin
Tim Smith24-Oct-02 14:20
Tim Smith24-Oct-02 14:20 
GeneralRe: hash_map question Pin
Tim Smith24-Oct-02 14:29
Tim Smith24-Oct-02 14:29 
GeneralRe: hash_map question Pin
Tim Smith24-Oct-02 14:41
Tim Smith24-Oct-02 14:41 
GeneralRe: hash_map question Pin
User 988525-Oct-02 1:56
User 988525-Oct-02 1:56 
GeneralRe: hash_map question Pin
Joao Vaz25-Oct-02 6:10
Joao Vaz25-Oct-02 6:10 
GeneralRe: hash_map question Pin
Tim Smith25-Oct-02 7:16
Tim Smith25-Oct-02 7:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.