{"id":14,"date":"2018-07-18T06:09:00","date_gmt":"2018-07-18T06:09:00","guid":{"rendered":""},"modified":"2023-11-17T16:40:03","modified_gmt":"2023-11-17T16:40:03","slug":"refactoring-tools","status":"publish","type":"post","link":"https:\/\/ahm.basfinans.com\/index.php\/2018\/07\/18\/refactoring-tools\/","title":{"rendered":"Refactoring Tools"},"content":{"rendered":"<div>\n<span>I used IntelliJ&nbsp;<\/span><span>to do some package renaming refactoring. I was confident that it was safe to do so, however, other parts of the code had changed when they should not have. Later on, I discovered the problem and fixed it. I used to avoid find\/replace tools or grepping because it is dangerous as you can easily change parts that should not be changed.&nbsp;<\/span><\/div>\n<div>\n<span><br \/><\/span><\/div>\n<p>I learned to never trust any tool regardless of whether it is smart or not. In complex code projects,<\/p>\n<div>\n<span> you have to be careful all the time and avoid being deceived&nbsp;b<\/span><span>y automated smart refactoring tools. I learned that using unsafe find\/replace carefully is better than using smart refactoring tools carelessly.&nbsp;<\/span><\/div>\n<div>\n<span><\/span><\/div>\n<div>\n<span><\/span><\/div>\n<div>From ahm507.blogspot.com<\/div>\n","protected":false},"excerpt":{"rendered":"<p>I used IntelliJ&nbsp;to do some package renaming refactoring. I was confident that it was safe to do so, however, other parts of the code had changed when they should not have. Later on, I discovered the problem and fixed it. I used to avoid find\/replace tools or grepping because it is dangerous as you can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/ahm.basfinans.com\/index.php\/wp-json\/wp\/v2\/posts\/14"}],"collection":[{"href":"https:\/\/ahm.basfinans.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahm.basfinans.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahm.basfinans.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ahm.basfinans.com\/index.php\/wp-json\/wp\/v2\/comments?post=14"}],"version-history":[{"count":1,"href":"https:\/\/ahm.basfinans.com\/index.php\/wp-json\/wp\/v2\/posts\/14\/revisions"}],"predecessor-version":[{"id":252,"href":"https:\/\/ahm.basfinans.com\/index.php\/wp-json\/wp\/v2\/posts\/14\/revisions\/252"}],"wp:attachment":[{"href":"https:\/\/ahm.basfinans.com\/index.php\/wp-json\/wp\/v2\/media?parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahm.basfinans.com\/index.php\/wp-json\/wp\/v2\/categories?post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahm.basfinans.com\/index.php\/wp-json\/wp\/v2\/tags?post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}