reddit discussion on replacing Python in 0install

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Jun 12 05:26:43 PDT 2013


On 6/11/13 10:07 PM, Steven Schveighoffer wrote:
> On Tue, 11 Jun 2013 17:36:24 -0400, Denis Koroskin <2korden at gmail.com>
> wrote:
>> The best solution would be for writeln() to throw on use, and I think
>> it's fairly easy to implement: just flush once after using the file
>> descriptor for the first time, and throw if it fails.
>
> This is a good idea.
>
> I think you meant "just flush once after using the FILE * for the first
> time"
>
> -Steve

Yah, but now we're looking at extra state associated with each file etc. 
Also it's kind of unexpected.

Andrei


More information about the Digitalmars-d mailing list