problem with exam task for college

Chris Angelico rosuav at gmail.com
Fri Jan 4 20:30:42 CET 2013


On Sat, Jan 5, 2013 at 6:18 AM, Joshua Landau
<joshua.landau.ws at gmail.com> wrote:
> It might measure a brand in femtometers ;).

LOL!

> But, seriously, it's Dutch for Fuel Gauge. Google told me, in case you think
> I know Dutch, but it's in the Python Spirit either way.
>
> ruimteschip -> Spaceship
> hoek -> angle
> sterren -> stars
> poot -> leg
> vlam -> flame
> graden -> degrees
> maan -> moon
>
> I'd say they'd be good names if you're in the Netherlands.

Yep, I'd agree, those are fine names. I still would expect to see the
class names in uppercase though; a single leading capital letter
strongly suggests that it's a single-word name, where all-lowercase
could just be rammed up together non-delimited. But yeah, that's a
pretty minor point. Those name are well suited to their tasks. (And
quite a few of them can be figured out from context without even
turning to the translator, like hoek == angle.)

ChrisA



More information about the Python-list mailing list