Living near the ocean now, I see a number of houses right on the coast for sale, with great views. Local people shy away from them, as they'll end up floating within a few years. People build seawalls and such, but you can't beat the ocean in a battle of attrition. I did an open house snoop on one not far over from here and you could feel the floors creaking as they're being undermined by infiltration through the beach. They don't need to be hit by the waves, although in a good hurricane or nor'easter, they might be.
Ah, but the view out that wall of windows... I could sit and watch very happily from that house.
The right on the water houses are only bought from a distance by people who don't do their research. I have a small ocean view between trees, but I looked at local geological surveys and sea level rise data and predictions before we bought. This place is good for at least 50 years, even with storms. I'm not.
There's one for sale by asking the owner across the road and down the hill. It was on the market for 1/3 the local housing average, but it's already looking threatened and can't be insured or have a mortgage. They pulled it off the market. If I were rich, I figure at my age I'd probably be able to keep my toes dry in it, but it's not what I'd call confidence inspiring. Those sea views on a stormy night though.... I love them. I wouldn't want my aquariums to get a 100% freezing salt water change.