[Tutor] Good approach regarding classes attributes

Danny Yoo dyoo at hashcollision.org
Thu Sep 11 18:21:34 CEST 2014


> I've just again experienced a new employer that tells my students my
> name is 'Van Den Broek' when I tell them that it is 'van den Broek.'
> This is the third time this week I've encountered this as a
> programming example. Perhaps the use of the example is responsible for
> the false belief amongst programmers that a surname always starts with
> a captial letter. (Also delightful is the view that no name can
> contain spaces.)
>

My apologies!  I'll try a different example next time using strip() to
remove surrounding whitespace.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140911/941cc6d0/attachment.html>


More information about the Tutor mailing list