son god dammit.
On Oct 11, 2015 3:45 PM, "Matt Wheeler" <m...@funkyhat.org> wrote:
> On 9 October 2015 at 17:26, John Michael Lafayette
> <johnmichaelreed...@gmail.com> wrote:
> > I would like Python to have a strong typing feature that can co-exist
> with
&
No. Python now has static type checking and IDE auto-complete support. All
you have to do is put the type name in the function declaration.
On Oct 11, 2015 3:45 PM, "Matt Wheeler" <m...@funkyhat.org> wrote:
> On 9 October 2015 at 17:26, John Michael Lafayette
> <joh
New submission from John Michael Lafayette:
I love the new type hint feature in Jetbrains IDE (PEP 0484). Now when my user
defined methods return a value, I can press (Crtl+space) and see the type of
that value and all its methods. Also, when I pass the wrong type in, I get a
warning.
Oddly
New submission from John Michael Lafayette:
With a lot of languages, I can tell
that the type I am getting is an instance of the declared type I'm assigning it
to.
Example:
Cat c = Factory.make("cat"
Animal d = Factory.make("dog")
Python:
val c = Factory.
I would like Python to have a strong typing feature that can co-exist with
the current dynamic typing system. Currently Python is like this:
var animal = Factory.make("dog") #okay
var dog = Factory.make("dog") #okay
--
https://mail.python.org/mailman/listinfo/python-list
I would like Python to have a strong typing feature that can co-exist with
the current dynamic typing system. Currently Python is like this:
var animal = Factory.make("dog") # okay.
var dog = Factory.make("dog") # okay.
var cat = Factory.make("dog")# are you sure?
I