Pregunta de entrevista de Acadian Asset Management

How do you think about typing in Python?

Respuesta de la entrevista

Anónimo

3 jun 2025

Best practice is to use typing to define not only dtypes, but input/output structure contracts. It’s a little helpful to say “dict” in your contract and very helpful to say “dict with these 5 keys” in your contract.