Mac Apps That Use Garbage Collection Must Move to ARC

Russel Winder via Digitalmars-d digitalmars-d at puremagic.com
Mon Feb 23 10:50:40 PST 2015


On Mon, 2015-02-23 at 10:08 -0800, Andrei Alexandrescu via Digitalmars-d
wrote:
[…]
> 
> Urgh. Product types masquerading as sum types. Give me a break will ya. 
> -- Andrei
> 

Uuurrr…. no. As of today I program with the stuff and it works. Coming
from Java and Python, I am an exceptions oriented person, but Go has
internal consistency on it's attitude to error reporting and you get
used to it. Actually, the obsession with error handling at the point of
occurrence does lead to getting systems that are less prone to
unexpected errors. This is pragmatism not theory. And being honest most
programmers would not know what product or sum types were. Nor would
they care. Even if perhaps they ought to.

When I worked with C, I abhorred the, to me, dreadful error codes
system. Go really does allow it to work without the same pain.

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150223/ef6cdaa3/attachment-0001.sig>


More information about the Digitalmars-d mailing list