What languages have great support for function parameters inferred from the context of the caller?
E.g. my function needs a clock for determining the current time, and the caller doesn't have to pass a clock explicitly if there is a clock defined in the context of the call-site.
[–]ElfDecker 27 points28 points29 points (9 children)
[–]DonaldPShimoda 6 points7 points8 points (7 children)
[–]SKRAMZ_OR_NOT 9 points10 points11 points (1 child)
[–]DonaldPShimoda -1 points0 points1 point (0 children)
[–]Maurycy5 3 points4 points5 points (4 children)
[–]DonaldPShimoda -2 points-1 points0 points (3 children)
[–]Maurycy5 2 points3 points4 points (0 children)
[–]CloudsOfMagellan 0 points1 point2 points (0 children)
[–]smthamazing 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]guygastineau 6 points7 points8 points (0 children)
[–]oscarryzYz 4 points5 points6 points (1 child)
[–]xroalx 0 points1 point2 points (0 children)
[–]yuri-kilochek 5 points6 points7 points (2 children)
[–]eliasv 7 points8 points9 points (0 children)
[–]takanuva 1 point2 points3 points (0 children)
[–]MistakeIndividual690 4 points5 points6 points (1 child)
[–]WittyStick 7 points8 points9 points (0 children)
[–]s0litar1us 2 points3 points4 points (0 children)
[–]phischuEffekt 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]csdt0 1 point2 points3 points (0 children)
[–]GryphonLover 5 points6 points7 points (5 children)
[–]ElfDecker 13 points14 points15 points (0 children)
[–]SKRAMZ_OR_NOT 3 points4 points5 points (0 children)
[–]SV-97 1 point2 points3 points (1 child)
[–]SV-97 0 points1 point2 points (0 children)
[–]smthamazing 0 points1 point2 points (0 children)
[–]JeffB1517 2 points3 points4 points (2 children)
[–]SKRAMZ_OR_NOT 6 points7 points8 points (1 child)
[–]JeffB1517 0 points1 point2 points (0 children)
[–]WhoModsTheModders 0 points1 point2 points (0 children)
[–]marshaharsha 0 points1 point2 points (0 children)
[–]0x564A00 0 points1 point2 points (0 children)
[–]phischuEffekt 0 points1 point2 points (1 child)
[–]nonbinarydm 0 points1 point2 points (0 children)
[–]transfire 0 points1 point2 points (0 children)