Hi guys,
Racket has some naming conventions that I’ve come across: parameters prefixed
with “current-“, class and interfaces suffixed with % and <%> respectively.
I’ve not stumbled across one for structs yet.
Suppose I have a circle struct and want to distinguish this from the
http/image circ
I don't think there's a convention, and I've not yet found an ideal one.
Around 2000, with portable RnRS-ish Scheme absent a module system, I
started using a convention that I think I took from Olin Shivers, which
is to prefix non-public toplevel identifiers with `%`. (At one point, I
even ha
Coming from a Perl background, I've long had a convention of naming
private functions with a leading underscore, e.g. _do-the-thing. Is
there a standard Racket convention for this and, if so, what is it?
--
You received this message because you are subscribed to the Google Groups
"Racket Users"
Greetings.
> On 2015 Jun 29, at 16:05, Philip Blair wrote:
>
> Perhaps, I'm wrong, but I don't believe there's an *explicit* convention;
> however, as far as I've seen, it typically is used for function variants
> (more specifically, I *usually* see it used to distinguish multiple functions
Perhaps, I'm wrong, but I don't believe there's an *explicit*
convention; however, as far as I've seen, it typically is used for
function variants (more specifically, I *usually* see it used to
distinguish multiple functions which do more or less the same thing with
different input forms).
T
Is there an explicit strategy for the use of / in function names, "overlay/xy",
"scale/xy" and so on?
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-u
6 matches
Mail list logo