I need to know the community view on D idiom regarding UFCS in one particular case (mostly because I am doing a presentation and need to know which one to put on the slides).
Given:
import std.concurrency: Tid, send
and some code that spawns, then in a spawned task should I write:
parent.send(result)
or:
send(parent, result)
as being idiomatic D code?
This has all the appearance of a potential troll, but that is not my
intention, I really do need to know which the community feels is
idiomatic D.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected]
41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected]
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
signature.asc
Description: This is a digitally signed message part
