Hi, Python community
I would like to discuss with you about the idea of "bidirectional Aliasing".
I am not good at English wording. I will try my best to communicate the idea

Link is a language feature that allows multiple variable names to always refer 
to the same underlying object define in a namespace.
For now, if the variable a link with b. I will denote as a >< b or link('a', 
'b')

a = 2
a >< alpha # link 'a' with 'alpha'
b = 3
print(b**alpha) # print 9
alpha = 3
print(b**a) # print 27

This also able to apply to function name, class property and method.

More in detail on this link
https://dev.to/circleoncircles/python-ideas-link-bidirectional-aliasing-in-python-3f20

Look forward to hearing from you
Nutchanon
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/NS5YFU3NLMZ63F3YWAHFKNXIWKHHKHRQ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to