Naming Conventions, Where's the Convention Waldo?

Mark Lawrence breamoreboy at yahoo.co.uk
Sun Jul 11 20:31:14 EDT 2010


On 12/07/2010 01:06, Steven D'Aprano wrote:
> On Sun, 11 Jul 2010 00:26:36 -0700, rantingrick wrote:
>
>> Another source of asininity seems to be the naming conventions of the
>> Python language proper! True/False start with an upper case and i
>> applaud this. However str, list, tuple, int, float --need i go on...?--
>> start with lowercase.
>>
>> Q: Well what the hell is your problem Rick. Who cares right?
>>
>> WRONG, I tell you what my problem is. Now i cannot "wisely" use
>> variables like...
>>
>> str="this is a string"
>> list = [1,2,3]
>> def make_random_objs(range=10)
>> def show_message(str)
>> int = 12
>
>
> Yes. So what? You can't wisely use variables like:
>
> True = "rantingrick is an obnoxious loudmouth"
+1 QOTW
> None = "the problem he is describing"
>
> Nor can you wisely use variables like:
>
> len = len("something")
> chr = chr(48)
>
>
> [...]
>> Just thoughts.
>
> But not deep thoughts.
>
Well said Steven, or is it Stephen, or Stephan, or Stefen, or what?
Kindest regards.

Mark Lawrence.





More information about the Python-list mailing list