After reading "incremental static type analysis" I tried to search the topic on the list, but did not found the phrase in another email.
Does it mean I can decorate a function/method to add hints to shedkin?
I would also love the following feature. Imagine this 2 functions
@ss.types(int, str, returns=float)
def foo( a, b):
print('b:' + b)
return bar(a)
@ss.types(int, returns=int)
def bar( c):
return c*c
I would love to have type checking in an IDE like pydev. So it can warn me if "return bar(a)" does not follow annotated restrictions.
The ideal would be annotating some functions, but not all of them, so analysis is quick enough, but at the same time the programmer doesn't need to be explicit in every method/function. (so i guess the user could set some "depth" threshold before ignoring a too large problem)
Should "incremental static type analysis" make this feature easier?
Kudos to shedskin developers and community!
Cheers,
Joaquín