Refactoring gets really bad reviews, but from where I’m sitting as a hobby programmer in relative ignorance it seems like it should be easier, because you could potentially reuse a lot of code. Can someone break it down for me?

I’m thinking of a situation where the code is ugly but still legible here. I completely understand that actual reverse engineering is harder than coding on a blank slate.

@corsicanguppy@lemmy.ca
link
fedilink
English
56d

Refactoring is good work. Rewriting is shallow fun.

Do the math.

Exception: perl is write-only code. Always rewrite.

Create a post

All things programming and coding related. Subcommunity of Technology.


This community’s icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

  • 1 user online
  • 1 user / day
  • 31 users / week
  • 65 users / month
  • 115 users / 6 months
  • 1 subscriber
  • 316 Posts
  • 2.26K Comments
  • Modlog