[racket-dev] Argument positions of string-... like functions

From: Laurent (laurent.orseau at gmail.com)
Date: Thu Apr 19 09:20:52 EDT 2012

>   (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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20120419/87777ba9/attachment.html>

Posted on the dev mailing list.