std.algorithm.skipOver broken / misbehaving?

Era Scarecrow rtcvb32 at yahoo.com
Sat Oct 6 15:44:58 PDT 2012


On Saturday, 6 October 2012 at 21:57:17 UTC, Ali Çehreli wrote:
> There is the std.path module and especially the 
> std.path.baseName function, but it considers either '/' or '\\' 
> depending on the platform.

  Yeah already found that. Easy to find it via grep in the html 
documentation.

> P.S. I too am thinking about abandoning dmd's -property switch. 
> With the -property switch, I would have to write retro() and 
> count() with parentheses.

  I'm not sure what to think regarding the -property switch. I've 
used it while tinkering with BitArray. I think libraries 
themselves should adhere to the stricter form, but user code can 
be more relaxed. If the calling is just user preference then it 
depends on how they see and understand the call based on the look 
of it. Maybe it will get thrown away...


More information about the Digitalmars-d-learn mailing list