RE: [GD-General] Eiffel
Brought to you by:
vexxed72
From: Tom H. <to...@3d...> - 2001-12-24 22:24:56
|
At 12:58 PM 12/24/2001, Brian Hook wrote: >It seemed to me that the bulk of your e-mail was raging against the >notion of "debugging STL", I was merely stating that no one said as much >(i.e. my complaints were on the "debuggability of programs that use >STL"). My only problems with STL are: 1. Debugging code that uses it is ugly. Drilling into the containers and iterators to get at your data is cumbersome, and in some cases, impossible (can't think of an example right this second, but I seem to recall the overloading of -> operator to be a problem) 2. Compile time errors messages are so incredibly long and ugly that it takes ages to decipher what they're saying and what the proper fix is. To solve #1 I've had to stop debugging, change the code to create a temp variable of the proper type, and run again. So far this hasn't been a huge problem since I've been able to at least get a workable solution in the situations I've run into so far, but if I ever have to deal with a hard to dupe bug, I'm going to be in hell. #2 seems like it's mostly a debug environment issue that could be addressed with better tools. I've been following this thread with great interest because I'm really not very happy with C++. It gets the job done, but it's an ugly bitch at times. Tom |