Re: [Audacity-devel] refactoring
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Joshua H. <jo...@re...> - 2003-10-29 08:02:43
|
On Tue, 2003-10-28 at 12:37, Dominic Mazzoni wrote: > It's a weird dilemma, because STL classes are more flexible and > clean from a C++ point of view (using templates instead of macros, > etc). But from an aesthetic point of view, I don't like STL at > all - I much prefer wxWindows-style method names and overall > conventions. Part of it's just what you're used to, but I feel > that wxWindows has put a lot of thought into clear method and > variable names. Another that comes to mind is that wxWindows > has switched from names like GetNumElements() to GetElementCount(), > since "Num" is confusing to non-native English speakers. Contrast > this with std::vector's method size(), which is quite ambiguous > (is it the amount of size it takes on disk? the number of elements? > the maximum number of elements?) I fully agree about STL, and I would add that in addition to being somewhat nonintuitive, there doesn't seem to be any really good documentation for it anywhere! Josh |