![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: "no variable or argument declarations are necessary."
From: Diez B. Roggisch <deets@web.de>
Date: Fri Oct 07 2005 - 14:21:59 CEST
> Now some of the Python-is-perfect crowd seems to suffer from a "Blub
Nobody says that there can't be possibly better languages like python
- all declarations are fully type annotated. The inference only comes
def foo(x:int):int :
but then could use
x = foo()
which made the inference possible. But it _doesn't figure out that foo
def bar(l:list[whatever]):whatever :
x = bar([10])
can be resolved as [] will me a list-constructor that gets passed an
- FPs share their own set of problems - try writing a server. The have
Still, FP is cool. But python too. And just attaching some
Diez
|