Programming is an art. Basically programming is mathematically solving complex logic problems that start out as word problems. That is why lateral thinkers make good programmers.
I have heard it stated that programming is 90% thinking and 10% coding. I am not sure if 90/10 is accurate but the concept is correct. To get your head around the problem, you have to be able to concentrate and sometimes for a long time. One disadvantage of working from home is finding long blocks of undisturbed time to concentrate and focus.
I used to have a Sony Discman (minidisc player) that was great for helping me block out ambiant noise (white noise drives me nuts) but it is gone or misplaced. I have often used ear plugs that cut noise down by about 20 decibals but I have lost ever single set. I would kill for a nice pair of noise reducing headphones. Of course, having a music source to plug those into would be even nicer.
In leu of all that, I will let Evan climb in my lap, listen to Amy’s shrill demands and shreaks, monitor the fights between the older children to decide when to intervene, listen to the dogs bark at unseen foes, hear the whine of the television and the hum of the refrigerator, heed my wife’s requests and listen closely to the words she does not speak, and between chaotic outbreaks I will slip in some coding enjoying the chaos and the logic.