D vs Go in real life

Russel Winder russel at winder.org.uk
Fri Nov 29 07:18:26 PST 2013


On Fri, 2013-11-29 at 13:11 +0100, bearophile wrote:
> Chris:
> 
> > But why on earth (a []byte)? The type is important, not the 
> > name. I can give it any name. a, inComing, inBytes, response, 
> > draculaBytes ...
> 
> I read that type "array of byte(s)", I find it a bit better than 
> D syntax, especially when types become a little more complex.

I believe it should be read as "slice of bytes" not "array of bytes".

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder



More information about the Digitalmars-d mailing list