Re: Static typing implementation for Python

2015-10-12 Thread Anssi Saari
Chris Angelico writes: > I'm fairly sure most arguments about "readable" or "unreadable" code > follow the same definitions. Does it ever. I never thought annotating names one added with one's initials or copy-pasting code instead of having a boolean expression in an if statement or keeping old

Re: Static typing implementation for Python

2015-10-11 Thread Ben Finney
Random832 writes: > Ben Finney writes: > > The opposite of string typing is weak typing. > > Well, I would say *string* typing [as used in, for example, sh and tcl] > is actually a form of weak typing. I infer a smile as you write that, but to clarify for others: I made a typo, and meant to con

Re: Static typing implementation for Python

2015-10-11 Thread Chris Angelico
On Mon, Oct 12, 2015 at 8:33 AM, Random832 wrote: > Ben Finney writes: >> The opposite of string typing is weak typing. > > Well, I would say *string* typing [as used in, for example, sh and tcl] > is actually a form of weak typing. But anyway, the other issue is that > strong typing is meaningle

Re: Static typing implementation for Python

2015-10-11 Thread Random832
Ben Finney writes: > The opposite of string typing is weak typing. Well, I would say *string* typing [as used in, for example, sh and tcl] is actually a form of weak typing. But anyway, the other issue is that strong typing is meaningless. In general it seems like weak typing means "the existence

Static typing implementation for Python (was: Strong typing implementation for Python)

2015-10-10 Thread Ben Finney
John Michael Lafayette writes: > I would like Python to have a strong typing feature that can co-exist > with the current dynamic typing system. You have incorrectly conflated two separate matters. The opposite of string typing is weak typing. Python has strong typing: its objects will only beh