maybe you are thinking of places that have a 35 hour work week? with an hour lunchbreak that adds up to 40. but that doesn't include lunch time in the work time because the nominal worktime per contract is actually specified as 35 hours of work.
Its true, as a software developer its impossible to have 40 productive hours a week every week of the year and its normal that way. But most people learn to look busy when workload is low.
Sorry, but lunch is not included in the 40 hours. At least in Italy.
Neither is it in Poland. The computer breaks totalling 15 minutes a day are.