There are arguable shades of gray in those examples but the JSON one and this one:
> X says - Lets make those by copy-pasting - and later we will think about making it generic
... are pretty ill-informed. That just reeks of sloppy and lazy and not particularly concerned about his craft. If you're looking for a mentor I would think you'd want to align yourself with someone who is mindful of their craft, no?