Institutional Research Information Service
UCL Logo
Please report any queries concerning the funding data grouped in the sections named "Externally Awarded" or "Internally Disbursed" (shown on the profile page) to your Research Finance Administrator. Your can find your Research Finance Administrator at https://www.ucl.ac.uk/finance/research/rs-contacts.php by entering your department
Please report any queries concerning the student data shown on the profile page to:

Email: portico-services@ucl.ac.uk

Help Desk: http://www.ucl.ac.uk/ras/portico/helpdesk
Publication Detail
Visualizing the Usage of Pythonic Idioms over Time: A Case Study of the with open Idiom
  • Publication Type:
  • Authors:
    Sakulniwat T, Kula RG, Ragkhitwetsagul C, Choetkiertikul M, Sunetnanta T, Wang D, Ishio T, Matsumoto K
  • Publisher:
  • Publication date:
  • Pagination:
    43, 48
  • Published proceedings:
    Proceedings - 2019 10th International Workshop on Empirical Software Engineering in Practice, IWESEP 2019
  • ISBN-13:
  • Status:
  • Name of conference:
    2019 10th International Workshop on Empirical Software Engineering in Practice (IWESEP)
  • Conference place:
    Tokyo, Japan
  • Conference start date:
  • Conference finish date:
© 2019 IEEE. Veterans within the Python community claim that the usage of Pythonic idiomatic writing style is usually preferred. Because of its conciseness and ease of understanding, the idiomatic code tends to be more efficient and less error-prone code. With the growth of Python developers outside the Python community, it is not certain to what extent how Python idiomatic code is used in real software projects, especially if there are consequences. In this paper, our aim is to understand when and how developers start to use idioms in their software projects. Specifically, we propose a technique to visualize and understand the usage of the with open Pythonic idiom, one of the popular idioms. Two visualizations are proposed: (1) a visualization of evolution of non-idiomatic and idiomatic style of writing in four Python software projects over time and (2) a visualization to show the amount of appearing and disappearing idioms by comparing from the first and the latest version of the projects. The results show that developers tend to adopt the idiomatic code over time. We also found that, in three out of the four projects, the developers fixed their code during the evolution of the software to improve their Pythonic coding styles.
Publication data is maintained in RPS. Visit https://rps.ucl.ac.uk
 More search options
There are no UCL People associated with this publication
University College London - Gower Street - London - WC1E 6BT Tel:+44 (0)20 7679 2000

© UCL 1999–2011

Search by