Python module names: why such unlogical mixed-case names as ConfigParser,
Cookies etc
I wonder why all modules don't use lower-case naming scheme. Would be
better, imho, to have module names configparser or config_parser, cookie
(not Cookie), htmlparser or html_parser (not HTMLParser) etc. Why better?
Python IDE's could then hilite all mixed-cased names specially, using new
color code, if all mixed-cased names would be classes names.
html_parser or htmlparser - module name
HTMLParser - class name
configparser - module name
ConfigParser - class name inside configparser
Why not to use lower-case name schema for modules?
No comments:
Post a Comment