Posts: 4,647
Threads: 1,494
Joined: Sep 2016
sounds like a language design issue. but we're stuck with it, now. ok, this argument makes sense, though my adict class would be another way to do it.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 4,647
Threads: 1,494
Joined: Sep 2016
Feb-19-2020, 02:07 AM
(This post was last modified: Feb-19-2020, 02:07 AM by Skaperen.)
the language i was designing before i encountered Python (i never encountered ABC) did not have distinctive types for mutable vs immutable. what it had was the ability to change any data object instance to immutable, either temporarily (can be undone) or permanently (cannot be undone). simple literals were automatically made permanently immutable. container literals were not. but you could build a mutable string or list from their creation methods. i had not done any unicode support in my language, though. if, for some reason, i were to finish it today, unicode, and many other things inspired my Python and Python3 would be added on.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.