This. AVR chips are not a great cost comparison point anymore, they're very expensive, especially for the speed you get.
There is a DIP ATMega328P version and in fact it's the one used on the Arduino UNO. It's also socketed! You can program it on the UNO, take it off, and it's good to go to be plugged into a breadboard, soldered standalone on perfboard, etc. and replaced with a new one.