This is the mail archive of the gsl-discuss@sourceware.org mailing list for the GSL project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I think it would be better if GSL, being written in C, were to present the most functional interface at the expense of sacrificing type safety, and higher level language bindings could then wrap that API and do type checking as needed. As gerard says, C isn't about type safety.
I agree. A good C programmer is comfortable with casts and knows perfectly well that it is up to them to track them. And the compiler (give a chance) will usually at least warn you about apparent inconsistency.
Jonathan
Robert G. Brown http://www.phy.duke.edu/~rgb/ Duke University Dept. of Physics, Box 90305 Durham, N.C. 27708-0305 Phone: 1-919-660-2567 Fax: 919-660-2525 email:rgb@phy.duke.edu
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |