Ask HN: How do you maintain focus during long coding sessions?

  • I think the most important ingredient for me is a combination of solitude and queuing up some good albums.

  • - Pomodoro

    - Noise-canceling headphones

    - Consistent breaks every hour

    - Hydration

    Additionally I try to remind myself what keeps me motivated.

  • i take breaks