"use strict"

Rhodri James rhodri at kynesim.co.uk
Tue Mar 12 07:57:53 EDT 2019


[[Replacing snipped context:]]
 > = Abdur-Rahmaan, no indent is me.
On 12/03/2019 11:32, Abdur-Rahmaan Janhangeer wrote:
 > no i mean
 >
 > # *-* use strict *-*

Ugh.

 > program
 >       typovar = x # line y
 >
 > ...
 >
 >
 > Traceback:
 >       on the fly var at line y

Yes, but how is the program supposed to know that typovar is a typo? Are 
you proposing mandatory declarations for all variables, because I think 
you know what the answer to that one will be.
[[End of previous post]]


On 12/03/2019 11:40, Abdur-Rahmaan Janhangeer wrote:
> no just the var you want to track maybe
> 
> _var
> 
> or something like that, i want to solve that problem and this is just a
> proposal

Sorry, I still don't understand.  *What* do you want to mark with 
"_var"?  It that a comment?  A new keyword?  Just a leading underscore? 
Could you give a full example, please?

-- 
Rhodri James *-* Kynesim Ltd



More information about the Python-list mailing list