It comes down to one question: how long are you staying, and does your housing situation justify owning things? If you are on a one-year contract or in student housing, buying a washing machine rarely makes sense. You will face the hassle of delivery, installation, and then selling or abandoning it when you leave. Laundromats or a laundry service win for short stays.
For stays of two years or more in an unfurnished flat, a machine usually pays for itself compared to weekly laundromat visits, and the convenience of washing at home is worth a lot with a family. The second-hand market is your friend here; departing expats sell nearly-new appliances cheaply all the time through community groups, and you can do the same on your way out.
A middle path many people miss: some landlords will add a machine if you ask during lease negotiation, and furnished rentals often include one. Check that before spending anything.