views:

169

answers:

2

I've started on a medium-sized project in python, and I decided to use python 3 because I'm not using any large external libraries and py3k has some nice new syntactic sugar and more importantly function annotations. However, it seems like none of WingIDE, Pydev, or pycharm actually have any support for type hinting using function annotations. If I want something resembling static typing in python, is switching to boo a reasonable option?

+1  A: 

You could try with Cython. It is in some way CPython with static typing. See also this link

joaquin
I did some testing and it looks like IDEs don't actually use Cython's types for anything. WingIDE just doesn't complain about syntax errors everywhere.
b0lt
+1  A: 

Boo is a great Python-like statically-typed language, but keep in mind that there more differences than just static typing. Actually you can also do duck typing on Boo.

Technically, I'd say the biggest difference is that Boo runs on Mono/.Net so the libraries and framework are totally different.

SharpDevelop and MonoDevelop both have good support for Boo. There's also a Visual Studio 2010 plugin that adds Boo support. It's still alpha, yet already usable.

Mauricio Scheffer
Thanks, I probably know the .NET library best of all of the libraries I've used. I've spent the past hour porting stuff over, and the documentation is a bit sparse in places, but everything is fairly straightforward.
b0lt