[racket-dev] Argument positions of string-... like functions
> (define (string-index-of sub str [start 0] [end (string-length str)])
>
I always need to go check the documentation for that kind of argument
position (like for (string-replace from str to) ).
To me, what makes more sense is to have the str argument on the first
position, just like for a method call with a self argument, which makes
sense for strings on functions like string-....
Does it bother other people too?
Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20120419/87777ba9/attachment.html>