Reply to post: Re: More lazyness than anything

Snakes on a wane: Python 2 development is finally frozen in time, version 3 slithers on

Charlie Clark Silver badge

Re: More lazyness than anything

I've never used either global nor nonlocal and always advise against them. But, like exec and <eval>code</eval> they exist for a reason.

But I do very much hate type hints as neither Pythonic nor useful in user code.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

SUBSCRIBE TO OUR WEEKLY TECH NEWSLETTER

Biting the hand that feeds IT © 1998–2020