osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"use strict"


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