Generic Refactoring
See original GitHub issueCurrent Behaviour:
Some code is not readable and some optimization should be applied. For example:
- URL formatting should be using:
str.format()
:'{}/{}/{}'.format(..., ..., ...)
or betterf'{domain}/{path}/{id}'
- issue #301
- please @chrizandr @xadahiya add to the list
- Adding doc strings wherever missing
Expected Behaviour:
Code should be refactored
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:13 (12 by maintainers)
Top Results From Across the Web
Generic Refactoring for Generic Parallelism in C++
We define a refactoring that converts a C++ loop into a GrPPI pipeline pattern, containing one or more stages that are executed concurrently...
Read more >Convert Raw Types to Generics refactoring - JetBrains
The Convert Raw Types to Generics refactoring is designed to transform existing code that does not use Generics, into the Generics-aware ...
Read more >Generic Refactoring for Generic Parallelism in C++
This paper describes software refactorings to semi-automatically introduce instances of GrPPI patterns into sequential C++ code, as well as ...
Read more >Refactoring GrPPI : generic refactoring for generic parallelism in C++
This paper describes software refactorings to semi-automatically introduce instances of GrPPI patterns into sequential C++ code, as well as safety checking ...
Read more >Towards Generic Refactoring - CiteSeerX
We define a challenging and meaningful benchmark for generic- ity in language processing, namely the notion of generic program refactoring.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I don’t think there’s any nice way to use fstrings in python 3.5 right now. If we want to use fstrings then we might have to ditch python 3.5, not sure we should do that. If think it would be better if we stick we old string formatting, for now at least.
Hey @harsheetkakar, there’s no need to ask. If you have any suggestions for changes and refactoring work, first read the Starting Material and open a PR to make your changes!