This advice is soo very wrong. As a programmer you need to think first. The code you write is gonna affect your life maintaining it. So it does affect you or some other developer maintaining it. By actually caring you make things easier for you and your peers and that helps you grow your career.
Prior to reading this two days earlier I just deleted my social media profile except Twitter for news or updates. I already feel better and I realise now how much of my time was being utilised in social media as a user.