If you are writing code for fun, then avoiding the “ugh field” is perfectly fine.
If you are being paid, then “can’t be fucked” is not, in general, an acceptable excuse. (At very least, not in any teams I have run.)
I think people often feel pressure to “do it right” when building hobby projects, which can lead to maintainer burnout; unless you are being paid there is no obligation to engineer with safety tolerances. Artisanal hand-crafted code is fine in that case.