implicit-context v0.0.1

Imperatorn johan_forsberg_86 at hotmail.com
Fri Sep 29 08:33:56 UTC 2023


On Thursday, 28 September 2023 at 23:28:02 UTC, Guillaume Piolat 
wrote:
> Hi,
>
> Ever had a bit of feature-envy about Odin's "context" feature 
> [1]? It is something used to pass "contextual" parameters, like 
> a logger, an allocator, to callees. It is akin to Scala's 
> "implicit parameters", or Jai contexts [2].
>
> [...]

Interesting, what are the benefits of using this instead of 
global variables?


More information about the Digitalmars-d-announce mailing list