|
From: Craig Powers on 31 Mar 2008 19:02 Craig Dedo wrote: > > I would like to throw out a thought question: > > What is the best way to implement generic programming and generic > procedures? What are the trade-offs involved in various approaches? > What languages use the best approaches? What improvements could be made > in those approaches? What languages do it badly and what are the > shortcomings of those approaches? > > I'm looking not only for ease and robustness of implementation, but > also robustness and ease of use in using the generic programming feature > for developing applications in Fortran. My main experience with using generic programming is templates in C++. Unfortunately, I haven't used them extensively enough to comment on their major shortcomings, nor have I used other forms of generic programming enough to comment on the relative advantages and disadvantages of C++. However, if you were to ask that question in a C++ newsgroup (e.g. comp.lang.c++.moderated) you would probably get some very good answers about the plusses and minuses of C++ itself, and you might even get some good comparitive info from anyone who has used another language with generic programming features.
|
Pages: 1 Prev: data with metadata Next: FoX - an XML toolkit for Fortran |