Python3 function annotations for hinting type vs Boo

I started with a mid-sized project in python, and decided to use python 3 because I do not use large external libraries, and py3k has a nice new syntactic sugar and, more importantly, annotation functions. However, it appears that none of WingIDE, Pydev, or pycharm has any support for a hint of type using function annotations. If I want something similar to static typing in python, is switching to boo a reasonable option?

+3
source share
2 answers

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

Technically, I would say that the biggest difference is that Boo works in Mono / .Net, so the libraries and frameworks are completely different.

SharpDevelop and MonoDevelop both have good support for Boo. There is also a Visual Studio 2010 plugin that adds support for Boo . It is still alpha, but can already be used.

+4
source

Cython. CPython . .

+1

Source: https://habr.com/ru/post/1746176/


All Articles