"use strict"

Rhodri James rhodri at kynesim.co.uk
Tue Mar 12 07:37:42 EDT 2019


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.

-- 
Rhodri James *-* Kynesim Ltd



More information about the Python-list mailing list