Very much for couple of reason

1. It helps keep code clean.
2. Helps to gurantee that SE will also be fine with the code generated and help you validate the output.