phobo's std.file is completely broke!

Ecstatic Coder ecstatic.coder at gmail.com
Thu Sep 20 05:43:58 UTC 2018


On Thursday, 20 September 2018 at 02:48:06 UTC, Nick Sabalausky 
(Abscissa) wrote:
> On 09/19/2018 02:33 AM, Jonathan Marler wrote:
>> 
>> What drives me mad is when you have library writers who try to 
>> "protect" you from the underlying system by translating 
>> everything you do into what they "think" you're trying to do.
>
> What drives me mad is when allegedly cross-platform tools 
> deliberately propagate non-cross-platform quirks that could 
> easily be abstracted away and pretend that's somehow "helping" 
> me instead of making a complete wreck of the whole point of 
> cross-platform. Bonus points if they're doing it mainly to help 
> with my C++-standard premature optimizations.
>
> If I actually want to deal with platform-specific quirks, then 
> I'll use the platform's API directly. (And then I'll beat 
> myself with a brick, just for fun.)

+1

A cross-platform library has to be designed to operate in the 
same way on each supported platform, even if this means that it's 
harder to implement on some platform, or that some platforms will 
need more complicated implementations.

That's the whole point of this "HAL" approach.


More information about the Digitalmars-d mailing list