I've been a professional programmer for many many years (20 years) and now I've lost interest, at the moment I have trouble even knocking out a few 100 lines of simple stuff. It will take me 3-4 days rather than 30-40mins

Anyone have any tips how to get your interest back?

Since I was a kid I've pretty much been into programming/coding as long as I was awake. I used to finish work and hit the interwebs for new stuff until bed. Now I am lucky to make LOC counts at work seem reasonable.

**EDIT**

Thanks everyone - some great suggestions - a lot I didnt think of - although not looking forward to the exercise I probably need it.