Milojković, Nevena; Ghafari, Mohammad; Nierstrasz, Oscar Marius (2017). It's Duck (Typing) Season! In: 25th International Conference on Program Comprehension (pp. 312-315). IEEE 10.1109/ICPC.2017.10
Text
Milo17b.pdf - Published Version Restricted to registered users only Available under License Publisher holds Copyright. Download (202kB) |
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.
Item Type: |
Conference or Workshop Item (Paper) |
---|---|
Division/Institute: |
08 Faculty of Science > Institute of Computer Science (INF) 08 Faculty of Science > Institute of Computer Science (INF) > Software Composition Group (SCG) [discontinued] |
UniBE Contributor: |
Ghafari, Mohammad, Nierstrasz, Oscar |
Subjects: |
000 Computer science, knowledge & systems 500 Science > 510 Mathematics |
ISBN: |
978-1-5386-0535-6 |
Publisher: |
IEEE |
Language: |
English |
Submitter: |
Oscar Nierstrasz |
Date Deposited: |
11 Apr 2018 13:57 |
Last Modified: |
02 Mar 2023 23:30 |
Publisher DOI: |
10.1109/ICPC.2017.10 |
BORIS DOI: |
10.7892/boris.113136 |
URI: |
https://boris.unibe.ch/id/eprint/113136 |