To chime in here, I've only ever worked part-time as a programmer. I'm in the UK, so YMMV, but if you're looking for part-time programming roles (i.e. 4-day working week, what I work) just ask. A lot of places are pretty open about 4 day work weeks. Some places jeer and it's a firm no. But it's worth a stab. Generally, the atmosphere is improving and the stigma seems to be dying off.
Well, I work 30 hours a week, so it's five hours less than that! Plus I don't even need to travel on Fridays for a half day. :)
I was working 25 hours a week, 5 5-hour days, which was good fun too. But I kept bumping heads with people at work. I'd work 10-3, with no lunch, and people would schedule meetings for 3, or 4, forgetting I wouldn't be there. Jira also didn't make things easy for the accounting people, so I am told...
If I could afford to go down to 3 days a week, I would. I'm not quite there yet with my annual salary. I think 3 days a week is the sweet spot. Though I feel my firm would be a tad peeved at 3 days a week. I'm not sure if they'd go for it. But it's a conversation I'm keen to have.
Some things aren't geared for pro-rata either. Things like the NHS top up, share schemes, cycle to work, you might lose them when you drop below 25 hours, rather then them scaling down like salary and holiday allowances.
I've never seen anything else less than 40hrs in the UK, UK had the longest working time for a while and I think it still is the highest (in Europe at least) on average.