In my condominium complex we are not allowed to hang laundry outside on our decks. Most homeowner associations in single-family dwellings also do not permit laundry lines to be set up anywhere on a homeowner's property. In America in most urban areas it's quite uncommon to see anyone hanging out laundry these days, as it is simply not permitted by so many communities. In some rural areas, though, especially in Amish country where the Amish don't use electricity, laundry lines are definitely part of the scenery.
I grew up with washers and dryers and can't imagine not having the convenience and speed of a dryer. Sure, it does heat up the house in summer (feels good in winter, though!) and yes, it is expensive, especially if someone has to pay for both their water and their electricity. Large families who do several loads of laundry several times a week must have to figure that high expense into their budget. For a single person or a couple it's not so bad, if they do laundry just once a week or maybe even only every ten days or two weeks.