jesse697
2020-12-27 08:52:36

@jesse697 has joined the channel


notjack
2020-12-27 12:54:12

you and me both :(


kellysmith12.21
2020-12-27 13:10:19

@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.


notjack
2020-12-27 15:12:43

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


popa.bogdanp
2020-12-27 18:56:49

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.


badkins
2020-12-27 18:58:17

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 :)


soegaard2
2020-12-27 19:37:36

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?


notjack
2020-12-27 19:43:23

I like xxx-count as a naming pattern.


notjack
2020-12-27 19:44:22

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


soegaard2
2020-12-27 19:46:19

I’ll use count.


laurent.orseau
2020-12-27 19:52:50

Now i want to rename all my counters :scream:


soegaard2
2020-12-27 21:01:22

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


notjack
2020-12-28 00:51:46

it’s a fascinating series of reads