DEV Community

[Comment from a deleted post]
Collapse
 
buphmin profile image
buphmin

This is individual scenario specific. Each person in each job could answer differently.

That said in and of itself coding is perfectly fine. Writing code is mentally engaging and allows you to solve complex problems. In this you can think abstractly and be challenged with varying issues. These are all good things for mental health and longevity of a career. Any job that provides a variety of problems to solve and is engaging can be considered a healthy career.

The problem with "coding" is not the coding part at all, but the people around you and the job. Negative behaviors of your team, impossible deadlines, poor work culture, and more can all weigh a person down regardless of the type of job. Unfortunately software companies have a tendency to combine a lot of these negative aspects into the job. Additionally the large divide between the technical experts and the non-technically inclined can be a large source of friction.

Another part is an individual's approach to the job. Things like make clear delineations between when it is time to work, and when it is not are important. Managing a work life balance, however that applies to you, is also crucial to mental healthy.