Well, the first thing I will tell you is don’t buy a front-loading washer.
The second thing is to buy a washer without all the bells and whistles. I still buy ones with a spin dial. Most are made larger and they don’t break down as easily and when they do they are actually easier to fix for common problems and I find last a heck of a long time and clean just as well as the really expensive ones.
Don’t over dry your towels, it tends to make them stiff.
Liquid fabric softer piles on your clothing and builds up in your washer and can irritate allergy sufferers. Use fabric sheets with no perfumes.
As already mentioned, the exhaust for the lint is also very important. Check it every couple of months to see how bad it is. It usually will be okay unless you run things that have a lot of lint. (A good hint that your exhaust needs cleaning is that your clothing will take longer to dry.
Too much detergent will also make clothes stiff and bleaching should only be used when necessary. Bleach destroys clothing.
Never let wet clothing sit in a washer for a few days. It will smell like mold and take a couple of washes to get rid of the smell or a lot of bake soda or vinegar. (not together)
If you live by a beach area and get a lot of sand on your clothing, thoroughly shake it out before putting it in the wash if you have an agitator. The sand will destroy the spinner. Learned that when my husband was a drill instructor. In a few short months, my spinner gears wore away.
Read labels on your stuff. If it says not to put it in a dryer it doesn’t mean you can’t. You just can’t use heat on it.
If you have something go in the dryer that is very fluffy, then halfway through the cycle, stop it and retrieve the lint that has build-up or it will take you much longer to dry.