OT: This Swift thing

Roy Smith roy at panix.com
Thu Jun 5 20:13:28 EDT 2014


In article <mailman.10789.1402012487.18130.python-list at python.org>,
 Sturla Molden <sturla.molden at gmail.com> wrote:

> On 05/06/14 22:27, Alain Ketterlin wrote:
>  > I have seen dozens of projects where Python was dismissed because of the
>  > lack of static typing, and the lack of static analysis tools.
> 
> If you are worried your code will bring down the next Ariane launch, I 
> can understand this argument. If you are only worried a junior developer 
> will make stupid mistankes that the test suite will trap, then no...
> 
> In Python you cannot spoof an object's type, which means the type safety 
> is strong. You cannot make Python silently return bytes of garbage by 
> using objects of incompatible types.

Well, you *can* play evil games with the struct module :-)



More information about the Python-list mailing list