What IDE/EDITOR do you use for D?
Paulo Pinto via Digitalmars-d
digitalmars-d at puremagic.com
Thu Oct 30 01:02:48 PDT 2014
On Thursday, 30 October 2014 at 05:54:34 UTC, Ola Fosheim Grøstad
wrote:
> On Thursday, 30 October 2014 at 05:01:27 UTC, H. S. Teoh via
> Digitalmars-d wrote:
>> templates and metaprogramming completely. I was skimming over
>> Google's
>> C++ style guide today, for example, and was shocked to
>> discover that
>> they discourage the use of templates and frown on
>> metaprogramming, among
>> other shocking things (like prohibiting exceptions, using
>> 2-space
>> indentation, and other "interesting" things [1]).
>
> The Google cppcon presentation was pretty clear on this, e.g.:
>
> ...
>
> 3. No non-const ref parameters to functions, use pointers. They
> want a visible "&" at call site for output parameters. e.g.
> "read(&var)" so that you don't have to look the function up in
> the docs.
>
Coming from a Quick/Turbo Basic/Turbo Pascal background, I never
understood the C culture about function parameters.
Just another example of C being unsafe.
--
Paulo
More information about the Digitalmars-d
mailing list