Python Forum
want better option name for a conversion function
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
want better option name for a conversion function
#2
Hello Skaperen, variable names can be any combination of characters, it is good practice to use names that imply their content, making the program easier to read and understand. digitsis preferable to use the field name for the corresponding variable, than a name consisting of a single letter such as a or b or any random name that does not reflect the actual content of the variable such as Value.
Reply


Messages In This Thread
RE: want better option name for a conversion function - by cvsae - Jul-31-2019, 11:26 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020