Article View: comp.std.c++
Article #2010Re: STL and user-friendliness
From: Christopher Thames
Date: Fri, 22 Sep 1995 16:10
Date: Fri, 22 Sep 1995 16:10
43 lines
2709 bytes
2709 bytes
In article <439g17$nlv@engnews2.Eng.Sun.COM>, william.mc@pi.se says... > >The idea that a low level library need not be user friendly doesn't >sustain scrutiny. The fact is, since such a library >will be used again & again & again & .... a very small investment >of time in improving the usability of the library will repay >itself thousands of times over. It is crucial that any library >be well designed from the point of view of the library user. So >instead I see ease-of-use as a design goal for any library. > I concur wholeheartedly. Any good class library needs to be designed with ease-of-use firmly in mind. During much heated discussion about reuse one of my colleagues stated "Design for *use*!". This sentiment being that if someone doesn't use something in the first place, they are not likely to reuse it. A word that seems to come up more and more regarding class library and framework design is "approachability". During his recent tour-de-force with James Rumbaugh, Grady Booch admitted that his design of the Booch Components was not approachable--an important lesson for himself and other class library designers. My experience using the Booch Components confirms this: the collection classes are very powerful and elegant with consistency across the library; once you understand one collection type, you understand them all. However, it requires considerable effort to get your arms around that first collection. I encountered resistance getting other developers to adopt the Booch Components due to its steep learning curve. I have not yet witnessed that power and elegance need be sacrificied to make class designs comprehensible; it just requires more effort and usually several iterations. ------------------------------- Christopher Thames World Fusion Software cthames@worldfusion.com ------------------------------- [ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu. Contact address: std-c++-request@ncar.ucar.edu. The moderation policy is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID:
<43s2p2$62f@kaiwan.kaiwan.com>Path:
arc1-ca.pugleaf.net!engnews2.Eng.Sun.COM!taumet!clamageReferences:
<439g17$nlv@engnews2.Eng.Sun.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!engnews2.Eng.Sun.COM!taumet!clamage From: cthames@worldfusion.com (Christopher Thames) Newsgroups: comp.std.c++ Subject: Re: STL and user-friendliness Date: 22 Sep 1995 16:10:18 GMT Organization: World Fusion Software Approved: clamage@eng.sun.com (comp.std.c++) Message-ID: <43s2p2$62f@kaiwan.kaiwan.com> References: <439g17$nlv@engnews2.Eng.Sun.COM> NNTP-Posting-Host: taumet.eng.sun.com Mime-Version: 1.0 Content-Type: text X-Nntp-Posting-Host: smtp.worldfusion.com X-Newsreader: WinVN 0.93.11 Content-Length: 1866 X-Lines: 39 Originator: clamage@taumet