On 09/11/14 20:45, Felix Winkelmann wrote:
>> I don't see how providing faster alternatives to SRFI-13 procedures is
>> mutually exclusive with making a cleaner API, unless you're planning on
>> making completely unsafe versions.
> 
> Yes (gulp!), I was also thinking about unsafe versions. But I think it
> is more important to reduce the core API and reduce the number of
> alternatives, which reduces the mental load on the programmer ("should
> I use 'string-prefix?' or 'string-starts-with?', and so on...)
> 

These could go to chicken.unsafe.strings or whatever: solves problem
with naming, no additional mental load - it is easy to guess what you
will get by using functions from this module.

I prefer to avoid "for internal use only" APIs. It is better to
modularize further using self descriptive names.

-- 
Regards, Oleg

_______________________________________________
Chicken-hackers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to