Python Boolean method naming readability -


which of these ways more readable boolean method in python?

document.is_editable     document.editable     document.has_editable     document.can_be_editable     document.can_edit 

i choose first 1 (from point of view of java developer).


Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -