template statistics

Max Samukha maxsamukha at gmail.com
Wed Jun 3 20:42:45 UTC 2020


On Wednesday, 3 June 2020 at 20:05:39 UTC, Walter Bright wrote:
> On 6/3/2020 7:58 AM, Stanislav Blinov wrote:
>> A good `writeln` would not call into C  at all.
>
> C's puts() is thread safe. No reason to not use it.
>
>
>> So it's OK, we're only missing a plain `writeln`.
>
> Doing the basic, common cases by going around the horn is not 
> good engineering.

Superfluous special cases and premature optimization is not good 
software engineering either.


More information about the Digitalmars-d mailing list