[Tutor] When to use classes

Alan Gauld alan.gauld at yahoo.co.uk
Sat Aug 19 14:23:02 EDT 2017


On 19/08/17 10:04, Peter Otten wrote:

> nicer interface. Nobody would want to write
> 
> a + b * c
> 
> as
> 
> add(a, mul(b, c))

Unless they program in Lisp perhaps :-)


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list