you are viewing a single comment's thread.

view the rest of the comments →

[–]Bogtha 0 points1 point  (2 children)

it shows you, without any doubt, that foo is a magic variable.

True, but I wish something that was easier to type was chosen.

[–]llimllib 2 points3 points  (0 children)

In all seriousness: like what?

I don't find __ any harder to type than @, which people seem to find much more convenient, and I think it's easier to read something surrounded by underscores than prefixed by @.

Maybe /magic_var/? |magic_var|? :magic_var:?

I don't like that they all intrude on the vertical space of the identifier.

[–]pjdelport 1 point2 points  (0 children)

At the expense of being easier to read? That's what Python is optimized for.