2019 10th International Workshop on Empirical Software Engineering in Practice (IWESEP) 2019
DOI: 10.1109/iwesep49350.2019.00016
|View full text |Cite
|
Sign up to set email alerts
|

Visualizing the Usage of Pythonic Idioms Over Time: A Case Study of the with open Idiom

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
3
0

Year Published

2020
2020
2023
2023

Publication Types

Select...
7

Relationship

2
5

Authors

Journals

citations
Cited by 10 publications
(5 citation statements)
references
References 9 publications
0
3
0
Order By: Relevance
“…The non-Pythonic code snippets in the Py/NPy database are stored in Siamese's code search index (using Elasticsearch). Then, Teddy connects with GitHub through Smee.io 4 , a webhook service, and uses the code changes in a pull request's commits as Siamese's search queries. The queries are matched with the NPys in the code search index using the idiom matching Detection mode.…”
Section: Methodsmentioning
confidence: 99%
See 1 more Smart Citation
“…The non-Pythonic code snippets in the Py/NPy database are stored in Siamese's code search index (using Elasticsearch). Then, Teddy connects with GitHub through Smee.io 4 , a webhook service, and uses the code changes in a pull request's commits as Siamese's search queries. The queries are matched with the NPys in the code search index using the idiom matching Detection mode.…”
Section: Methodsmentioning
confidence: 99%
“…Compared to non-Pythonic code, Pythonic idioms are well-accepted form of Python programming [3] due to many benefits. For example, Sakulniwat et al [4] showed that adopting the with open Pythonic idiom gives benefits not only in terms of readability, but also prevents memory leaks by automatically closing the file after finishing the task.…”
Section: Introductionmentioning
confidence: 99%
“…Hence, PYEVOLVE missed cases where it did not match the generalization of the rule. However, developers evolve Python in a Pythonic way [56], [57], and they evolve idioms mostly in the same way. Hence, despite learning from one example, PYEVOLVE achieved a high precision and recall.…”
Section: A Rq1: What Is the Effectiveness Of Pyevolve In Generating C...mentioning
confidence: 99%
“…Alexandru et al [56] present a nonexhaustive list of Python idioms gleaned from a developer survey. Sakulniwat et al [57] studied the evolution of Python with statements over time, while Wang et al [62] studied Python code smells. However, none of these fully automate code transformations.…”
Section: Related Workmentioning
confidence: 99%
“…Researchers have only begun to study how developers use Pythonic idioms. Recent work is now concerned with the different aspects of Pythonic detection and usage [4,7,8,10,13].…”
Section: Introductionmentioning
confidence: 99%