Hero coding is the act of swooping down and saving a troubled software project by coding like hell for long hours until the software limps into a shippable state.
Sometimes, when plans go awry and schedules slip, hero coding becomes necessary. It’s a longshot, a Hail Mary pass.
But hero coding should never be part of the plan. If your schedule has a line saying “hero coding happens here”, and that’s the only way to come close to hitting your schedule, then you have already failed.
In other words, coaches never start a game planning to throw a Hail Mary.