help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] a question on an implementation choice


From: Nicolas Bock
Subject: Re: [Help-gsl] a question on an implementation choice
Date: Fri, 18 Feb 2011 08:25:38 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110115 Lightning/1.0b3pre Thunderbird/3.1.7

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks


On 02/18/11 04:42, Brian Gough wrote:
> 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.
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1ej3IACgkQf15tZKyRylJiNwCg7jzTPSeNs+IYxsjX+TMIq2G1
quoAoI/8MLTfthqy1+Iq4Hgbrg3KXzRI
=zX//
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]