From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11232c,5a49299837746c29,start X-Google-Attributes: gid11232c,public X-Google-Thread: 103376,ac39a12d5faf5b14 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-18 11:50:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.mailgate.org!mygate.mailgate.org!198.207.153.205!not-for-mail From: "Kent Paul Dolan" Newsgroups: comp.lang.ada,misc.misc Subject: [OT] Focusing on tools you know in programming libraries. (was): Development process in the Ada community Date: Thu, 18 Apr 2002 18:50:28 +0000 (UTC) Organization: Mailgate.ORG Server - http://www.Mailgate.ORG Message-ID: <06261d8d2b7b28d6cb767a290ef7b5c7.48257@mygate.mailgate.org> References: <3CB46975.90408@snafu.de> <3CBAFFEE.2080708@snafu.de> <4519e058.0204171036.6f0a7394@posting.google.com> <3CBDD795.4060706@snafu.de> <4519e058.0204180800.44fac012@posting.google.com> <3CBF0341.8020406@mail.com> NNTP-Posting-Host: 198.207.153.205 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.mailgate.org 1019142807 4765 198.207.153.205 (Thu Apr 18 20:50:28 2002) X-Complaints-To: abuse@mailgate.org NNTP-Posting-Date: Thu, 18 Apr 2002 18:50:28 +0000 (UTC) Injector-Info: news.mailgate.org; posting-host=198.207.153.205; posting-account=48257; posting-date=1019142807 User-Agent: Mailgate Web Server X-URL: http://mygate.mailgate.org/mynews/comp/comp.lang.ada/06261d8d2b7b28d6cb767a290ef7b5c7.48257%40mygate.mailgate.org Xref: archiver1.google.com comp.lang.ada:22741 misc.misc:6602 Date: 2002-04-18T18:50:28+00:00 List-Id: "Hyman Rosen" wrote: > I was just reading somewhere (exactly where escapes me) of a recent > survey done on C++ programmers who have started using the STL. There > was some surprise to discover that the most used container was map. > Apparently what happens is that once programmers have map available, > they begin using it all over the place, replacing little local ad-hoc > lookup structures such as linear searches through arrays. That corresponds to my recent experience when someone introduced me a few days ago (by mentioning it in a posting) to Java's TreeSet, which is probably similar in part to Map, from your description. It turned a big nasty programming chore (implementing a Tabu Search from scratch) I'd been avoiding, into something I was able to toss off in five hours. Like the STL, the Java API is rather overwhelming, so I'll probably use TreeSet a lot where other classes unknown to me might really be a better fit, like the STL newbies seem to focus on Map. xanthian. -- Posted via Mailgate.ORG Server - http://www.Mailgate.ORG