[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] a question on an implementation choice
From: |
Brian Gough |
Subject: |
Re: [Help-gsl] a question on an implementation choice |
Date: |
Fri, 18 Feb 2011 11:42:36 +0000 |
User-agent: |
Wanderlust/2.15.6 (Almost Unreal) Emacs/23.2 Mule/6.0 (HANACHIRUSATO) |
At Thu, 17 Feb 2011 12:15:01 -0700,
Nicolas Bock wrote:
> * Why did you decide to stick with C and not use C++ and its template
> functionality? Wouldn't that have lead to a cleaner implementation?
C was the GNU standard language so it was not really a question of
preference, just following the standard.
If you have no other constraints, then C++ is preferable for templates.
> * Was there a particular reason to implement the templates in the C
> files with includes to other C files as opposed to in the makefile
> with "-D..." preprocessor arguments?
It was just a simple way that worked.