Learnt as Manager

Software industry is very huge and generally it has very small, on an average 5-8 years of life as a programmer or coder and then most of us are migrated to management positions like team leaders or project managers without realising what we are gaining and what we are losing.  Sometimes it is a dream to become project manager and other times we are just promoted as per our skills and company requirements.