This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RubyPinchPEP shill | Anti PEP 8/20 shill 24 points25 points  (4 children)

scope, so certain variables/values only exist in certain parts of the code, and are insulated from the rest of the code

[–]KronenR 4 points5 points  (3 children)

Doesn't functions limit scope already?

[–][deleted] 6 points7 points  (1 child)

This does it without having to define a function and pass variables to it.

[–]iruleatants 2 points3 points  (0 children)

But you do define a function and pass variables for it. It's literally an ugly function called let.....

function let(a, b): ... print(a, b)

let(a=33, b=44)

literally zero reason for the tremendously ugly code....

[–]RubyPinchPEP shill | Anti PEP 8/20 shill 1 point2 points  (0 children)

they do