tags:

views:

43

answers:

1

Is it standard practice or convention in Python to prepend boolean instance variables with is?

For example:
"options.isVerbose"

+4  A: 

Mixed-case is less common than underscores: is_verbose, and actually, the is- prefix isn't all that common. I guess there isn't a strong convention one way or the other.

Ned Batchelder