Pro tip: the hostel desk clerk in Lisbon told me to book bus tickets the day before, not weeks out
She said the 15 euro fares to Porto never sell out, and when I checked the app 3 weeks ahead they were listed at 25, so I waited until the night before and paid 14.50, and now I'm wondering if that trick works on train lines in Italy too or if I just got lucky with the bus company.
The "never sell out" line is what would worry me, because that is exactly what the guy at the counter in Naples told me about the cheap regional trains, and then the morning I wanted to go to Pompeii the ticket machine had a line out the door and the next train was packed. I still got on, but standing for 40 minutes with my bag between my feet was not the plan. The fast trains are a different story though, those prices only go up the closer you get, so I would not push my luck there. Bus companies seem way more loose about it than rail, in my very limited experience.