I spent ten years living on a big old Grand Banks woody on the Essex rivers, Crouch and Roach mainly, and anything metal corroded very quickly. Electronics was a black art to me at the time, a complete mystery, although I used a lot of bits of kit I was screwed when they broke down and that did happen frequently.
Marine grade electronics, which was apparently mainly about the sealing and cooling issues from sealing, definitely have their place, as I remember getting the skipper of the Brownsea Island ferry down in Poole Harbour, Dorset, to help me get a pinnace I owned from the Isle of Wight to London, as I was still learning to navigate then. All I had was a cheapo chartplotter I'd installed, so this guy brought his laptop with complete charts of the UK coast, with a USB GPS antenna, and set it up in the cramped little wheelhouse. It might have been OK on the air-conditioned bridge of the Brownsea Island ferry, but the gunwhale outside the wheelhouse doors of my pinnace was about 4 feet off the water... and there was a reaaaaally thick fog. The laptop sputtered and died after 15 minutes and didn't work again so we had to rely on my shitty little chartplotter. With no radar, a wooden boat and the busy shipping lanes around the Solent it was a moderately nerve-wracking trip, and an object lesson on why computers guaranteed to work in marine environments cost a few grand rather than a few hundred (early 2000's).