How Do You Keep Lorem Ipsum Placeholder Text Out of Your Code?
Asked by
orbital-3p
I've noticed that more developers, including myself, are merging lorem ipsum placeholder text into their projects without really checking it first. I think this is a pretty common issue. How can we avoid this from happening? I believe it should start during code reviews, but I'm curious to hear what methods have been effective for others and what hasn't worked so well.
Answers
Is this really a widespread issue? Iโm just surprised to hear that so many are facing it. Seems like itโs got to be something a bit more manageable, right?
Reply to this answer
One way to tackle this is by setting up a git hook that can check your staged changes before you commit. If it detects any 'Lorem Ipsum' text, it can prevent the commit from going through. It's a great way to enforce cleanliness in your codebase!
Reply to this answer
Lol, this sounds like something we all do at some point! Maybe just pay closer attention during code reviewsโthough we all know how that goes sometimes!
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions