[racket-users] [racket users] Naming conventions

2020-09-18 Thread Kevin Forchione
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

Re: [racket-users] Naming conventions for private functions

2017-10-13 Thread Neil Van Dyke
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

[racket-users] Naming conventions for private functions

2017-10-13 Thread David Storrs
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"

Re: [racket-users] Naming conventions

2015-06-29 Thread Norman Gray
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

Re: [racket-users] Naming conventions

2015-06-29 Thread Philip Blair
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

[racket-users] Naming conventions

2015-06-29 Thread John Carmack
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