Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Code refactoring
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Timing and responsibility== There are two possible times for refactoring. # Preventive refactoring β the original developer of the code makes the code more robust when it is still free of [[Code smell|smells]] to prevent the formation of smells in the future.<ref name="fraivert2022"> {{Cite conference |last1=Fraivert|first1=Dov |last2=Lorenz|first2=David H. |title=Language Support for Refactorability Decay Prevention |date=2022 |book-title=Proceedings of the 21st ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences |pages=122β134 |doi=10.1145/3564719.3568688 |isbn=978-1-4503-9920-3 }}</ref> # Corrective refactoring β a subsequent developer performs refactoring to correct [[code smell]]s as they occur.<ref name="fraivert2022" /> A method that balances preventive and corrective refactoring is "shared responsibility for refactoring". This approach splits the refactoring action into two stages and two roles. The original developer of the code just prepares the code for refactoring, and when the [[code smell]]s form, a subsequent developer carries out the actual refactoring action.<ref name="fraivert2022" />
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Code refactoring
(section)
Add topic