For dealing with climate-change-related coastal flooding, one idea has been gaining currency ...
... which is, don't resist the water, build high, or build dams. Instead, build canals that give the sea-swell a place to flow inland ...
... so it can flow in, then flow out
Somerset, UK has done this with great success
The canals have prevented flooding that used to strand villages ...
... and it has rebooted the area's "salt marshes"
Item #10 in my latest "Linkfest": https://buttondown.com/clivethompson/archive/linkfest-26-cryptophasia-wigner-crystals-and-how/