We've flown both the A330 and the A340 and found both to be perfectly fine.
The 2-4-2 seating is nice and allows us to select an outboard pair of seats.
We did catch a Lufthansa A340 IAD to FRA in the summer of 2024 since I wanted to grab a flight on one before the airline retired them.