
@jesse697 has joined the channel

you and me both :(

@notjack we have a shared predicament: in my lang, I want new types to be defined with the Rebellion type facilities instead of struct
, so generics coming to rebellion/type
is critical to me.

Commenting on the issue would be worthwhile, since this feature won’t get implemented without some noisemaking about its use cases

I imagine that when the GC is turned on, the runtime needs to get memory from the OS less frequently because it can re-use sweeped space.

Possibly. One of the things I like about programming in Racket is being able to let the compiler handle this sort of thing, so I don’t have to micro-optimize :)

Question on naming things: I have a struct representing af figure. There is counter figure-counter which holds the number of figures so far. What is the best name for the struct field holding count value associated to a figure: number
, count
, counter
or something else?

I like xxx-count
as a naming pattern.

I’ve even got a spec to reference for it, though you’re not making protocol buffer APIs so it doesn’t really apply https://google.aip.dev/141\|https://google.aip.dev/141

I’ll use count
.

Now i want to rename all my counters :scream:

@notjack Thanks for the link. There is great advice to be found in the AIPs.

it’s a fascinating series of reads