News for hackers. Stuff that matters.
Re:Simple Feature Gross Code by mjcohen on Saturday December 09, 2023 @08:18PM (#38588052)
You assume that word and line are the same length. Haven't checked beyond that.
Re:Simple Feature Gross Code by Greg_hamel on Sunday December 10, 2023 @08:43AM (#38591470)
I often find myself wrapped in a similar thought process. Looking back at what I wrote, knowing fully that it works, but questioning its “cleanliness” or its ease of change. I often worry that I will come back to it and have to spend a good portion of time piecing it all back together.

I’ve recently started reading about refactoring ideas by Martin Fowler and others. These made me realize the potential, but it is an art-form in and off itself.