lampepfl / gears

A strawman for a low-level async library in Scala 3.
https://lampepfl.github.io/gears/
Apache License 2.0
257 stars 26 forks source link

Methods name on `Channel` #28

Closed He-Pin closed 8 months ago

He-Pin commented 11 months ago

Hi nice projects, I was expect the name to be send & recv/receive but were send & read.

I was using https://docs.rs/tokio/latest/tokio/sync/mpsc/fn.channel.html and I think the send & receive better.

natsukagami commented 11 months ago

Hey! Naming is a hard problem :) we were looking for words that have equal lengths, hence read and send. recv was on the table but it doesn't read nicely off of the tongue.

He-Pin commented 11 months ago

That's true:)