Publication type: Conference paper
Type of review: Peer review (publication)
Title: On the usage of pythonic idioms
Authors: Alexandru, Carol V.
Merchante, José J.
Panichella, Sebastiano
Proksch, Sebastian
Gall, Harald C.
Robles, Gregorio
DOI: 10.1145/3276954.3276960
Proceedings: Onward! 2018 : Proceedings of the 2018 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software
Page(s): 1
Pages to: 11
Conference details: Onward! 2018, Boston, USA, 4-9 November 2018
Issue Date: 2018
Publisher / Ed. Institution: Association for Computing Machinery
Publisher / Ed. Institution: New York
ISBN: 978-1-4503-6031-9
Language: English
Subject (DDC): 005: Computer programming, programs and data
Abstract: Developers discuss software architecture and concrete source code implementations on a regular basis, be it on question-answering sites, online chats, mailing lists or face to face. In many cases, there is more than one way of solving a programming task. Which way is best may be decided based on case-specific circumstances and constraints, but also based on convention. Having strong conventions, and a common vocabulary to express them, simplifies communication and strengthens common understanding of software development problems and their solutions. While many programming ecosystems have a common vocabulary, Python’s relationship to conventions and common language is a particularly pronounced. The “Zen of Python”, a famous set of high-level coding conventions authored by Tim Peters, states “There should be one, and preferably only one, obvious way to do it”. This ‘one way to do it’ is often referred to as the ‘Pythonic’ way: the ideal solution to a particular problem. Few other programming languages have coined a unique term to label the quality of craftsmanship gone into a software artifact. In this paper, we explore how Python developers understand the term ‘Pythonic’ by means of structured interviews, build a catalogue of ‘pythonic idioms’ gathered from literature, and conjecture on the effects of having a language-specific term for quality code, considering the potential it could hold for other programming languages and ecosystems. We find that while the term means different things to novice versus experienced Python developers, it encompasses not only concrete implementation, but a way of thinking - a culture - in general.
URI: https://digitalcollection.zhaw.ch/handle/11475/17381
Fulltext version: Published version
License (according to publishing contract): Licence according to publishing contract
Departement: School of Engineering
Organisational Unit: Institute of Computer Science (InIT)
Appears in collections:Publikationen School of Engineering

Files in This Item:
There are no files associated with this item.
Show full item record
Alexandru, C. V., Merchante, J. J., Panichella, S., Proksch, S., Gall, H. C., & Robles, G. (2018). On the usage of pythonic idioms [Conference paper]. Onward! 2018 : Proceedings of the 2018 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software, 1–11. https://doi.org/10.1145/3276954.3276960
Alexandru, C.V. et al. (2018) ‘On the usage of pythonic idioms’, in Onward! 2018 : Proceedings of the 2018 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software. New York: Association for Computing Machinery, pp. 1–11. Available at: https://doi.org/10.1145/3276954.3276960.
C. V. Alexandru, J. J. Merchante, S. Panichella, S. Proksch, H. C. Gall, and G. Robles, “On the usage of pythonic idioms,” in Onward! 2018 : Proceedings of the 2018 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software, 2018, pp. 1–11. doi: 10.1145/3276954.3276960.
ALEXANDRU, Carol V., José J. MERCHANTE, Sebastiano PANICHELLA, Sebastian PROKSCH, Harald C. GALL und Gregorio ROBLES, 2018. On the usage of pythonic idioms. In: Onward! 2018 : Proceedings of the 2018 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software. Conference paper. New York: Association for Computing Machinery. 2018. S. 1–11. ISBN 978-1-4503-6031-9
Alexandru, Carol V., José J. Merchante, Sebastiano Panichella, Sebastian Proksch, Harald C. Gall, and Gregorio Robles. 2018. “On the Usage of Pythonic Idioms.” Conference paper. In Onward! 2018 : Proceedings of the 2018 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software, 1–11. New York: Association for Computing Machinery. https://doi.org/10.1145/3276954.3276960.
Alexandru, Carol V., et al. “On the Usage of Pythonic Idioms.” Onward! 2018 : Proceedings of the 2018 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software, Association for Computing Machinery, 2018, pp. 1–11, https://doi.org/10.1145/3276954.3276960.


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.