Re:Ruby 3.0 and the new FiberScheduler interface
by chrisseaton on Tuesday December 29, 2020 @07:34PM
(#25576911)
I'm not debating if it's a bad idea or not - I'm just saying that's the definition of future as the authors intended it. If you don't want that that, then maybe call it an eventual value instead as you don't have the single essential part of what makes a future.
[ Parent
| on HN ]
Re:Ruby 3.0 and the new FiberScheduler interface
by valenterry on Tuesday December 29, 2020 @10:42PM
(#25578214)
I think the general meaning of this term has changed. Future is now considered a different type and I think we just have to accept that the older definition isn't really used anymore.
Re:Ruby 3.0 and the new FiberScheduler interface
by chrisseaton on Wednesday December 30, 2020 @07:46AM
(#25581198)
Yes and to be honest I've written Future<... myself.