jeudi 29 février 2024
« Une astuce combinant la surcharge (overload) et les types litéraux pour définir des types dépendants en python. À noter que l'astuce est sympa à comprendre et à essayer, mais je ne sais pas si c'est un pattern établi -- la documentation d'overload dans mypy ne mentionne pas son usage avec les types litéraux.  »
jeudi 11 janvier 2024
« Early in 2023 the Svelte library was "ditching" TypeScript for JavaScript and JSDoc. This article gives some ideas about how strong typing can be achieved with JavaScript, JSDoc and VSCode (and ... TypeScript types :D). For those who are less familiar with TypeScript, (and are not afraid of stumbling people animated gifs) this article covers a lot too.  »
mercredi 5 décembre 2018
« Une courte introduction à l'effacement de types et à la réification.  »