R
4

Hit my first 1000 lines of code in a single project and actually felt lost

I finally crossed 1000 lines of code on a practice app yesterday and it surprised me how messy it got - I thought bigger was better but now I see why folks talk about keeping things simple. Has anyone else hit a number that made them rethink their whole approach?
2 comments

Log in to join the discussion

Log In
2 Comments
lilyb27
lilyb2716d ago
Wait, 1000 lines total? Like the whole project is 1000 lines? I've got functions longer than that in my stuff, but I guess it depends on what you're building. Honestly first time I hit around 500 lines on a side project I realized I'd been copying and pasting the same validation checks over and over instead of making a helper function. That's when it clicked for me too - simple is way better than just having a pile of code that works. The mess isn't just about numbers either, it's about not knowing where to find the thing you need to change.
7
jenny_jackson
1000 lines isn't that much honestly.
5