I wonder if the endless edit-compile-run and "see if it works" cycle is as addictive and harmful as social media. At least with social media I'm interacting with other people.
E.g. coding until 3 o'clock in the afternoon, and only then running code and testing.