What do you guys do to concentrate while coding. I’m having a little problem lately to be able to concentrate. I just want to know, maybe I would try some of them and maybe they’ll work.
Don’t try to do other things at the same time. Learning to program is hard and needs your full attention. Don’t watch TV, listen to podcasts, or open non-programming tabs during the time that you are programming. You’ll get more benefit out of only working on this for one hour than you’ll get out of half-assing it for four hours.
Personally I throw my headphones on and blast music. It doesn’t draw my attention like television or a podcast, so it serves as background noise and allows me to tune out my surroundings and focus entirely on coding.