I don't code, I do financial reporting, but I figured I'd answer anyway.
When I am doing tedious tasks that don't require much brainpower, I listen to hiphop/R&B (my favorite genre).
For actual hard analytical work, I listen almost exclusively to lo-fi hiphop. I need the drums for pacing and energy, but the instrumentals are very soothing and non-distracting. I'd seriously recommend trying lo-fi out if you like hiphop.