Yup my comments are generally along the lines of:
- I could have done this X way, but it ran slower
- I was running out of time so this it’s mostly copied from (stack overflow url)
- refactor when time allows
This is a side effect of doing lots of tiny websites , microcontroller code and mini web apps for under budgeted marketing projects with constantly changing designs and requirements that don’t need to last too long.