It's Duck (Typing) Season!

Abstract : Duck typing provides a way to reuse code and allow a developer to write more extensible code. At the same time, it scatters the implementation of a functionality over multiple classes and causes difficulties in program comprehension. The extent to which duck typing is used in real programs is not very well understood. We report on a preliminary study of the prevalence of duck typing in more than a thousand dynamically-typed open source software systems developed in Smalltalk. Although a small portion of the call sites in these systems is duck-typed, in half of the analysed systems at least 20% of methods are duck-typed.
Type de document :
Communication dans un congrès
ICPC 2017 - 25th International Conference on Program Comprehension, May 2017, Buenos Aires, Argentina
Liste complète des métadonnées

Littérature citée [15 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-01519634
Contributeur : Nevena Milojkovic <>
Soumis le : lundi 8 mai 2017 - 23:15:28
Dernière modification le : mercredi 10 mai 2017 - 01:08:32
Document(s) archivé(s) le : mercredi 9 août 2017 - 15:30:18

Fichier

DuckTypingPreprint.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : hal-01519634, version 1

Collections

Citation

Nevena Milojković, Mohammad Ghafari, Oscar Nierstrasz. It's Duck (Typing) Season!. ICPC 2017 - 25th International Conference on Program Comprehension, May 2017, Buenos Aires, Argentina. 〈hal-01519634〉

Partager

Métriques

Consultations de la notice

59

Téléchargements de fichiers

59