"use strict"

Rhodri James rhodri at kynesim.co.uk
Mon Mar 11 15:05:29 EDT 2019


On 11/03/2019 18:24, Abdur-Rahmaan Janhangeer wrote:
> i mean a way to solve the problem of declaring variables beforehand and not
> changing in loop. like not using undeclated variables. but that's precisely
> what python has, you can't just declare a variable with no assignment.
> 
> 
> maybe some special symbils to mark that.

You sent this to me instead of the list, but never mind.  If you want 
this, Guido's time machine strikes again.  Just use type annotations and 
mypy, or pylint or the like for static checking of unexpected variables.


-- 
Rhodri James *-* Kynesim Ltd



More information about the Python-list mailing list