Have installed tens of thousands of dome cameras in every building structure known to man over 36 plus years.
This spans from vehicles, boats, trains, tanks, poles, bridges, towers, and buildings.
People are not taking into consideration the quality of hardware, initial prep, and best practices of installation.
Billions of domes are in place now without any issue.
Why???
Quality products used, properly rated for said environment, prepped for solid air & water mitigation, and proper final installation.
People are also not taking into consideration if you see a first tier dome say from Axis (insert any first tier) name that is showing signs of yellowing.
That camera was built upon that current technology at the time say 1980-1990. Which asking took 15 years for said dome to turn yellow. All the while it’s been in a direct sun light in Dubai at a freaking 60-85’C of internal temp!
Fast forward to 2000 - 2021 guess what?!?
The technology for glass and plastics have evolved to be incredibly durable and long lasting while offering incredible strength and impact resistance.
Think Gorilla Glass and the like. Think anti glare, anti UV coatings, anti rain, etc.
You’re simply not going to see that same best in class technology in a $45.00 dome from AliExpress!
Having said this almost every 2nd tier manufacturer has incorporated at the minimum industry best practices for IP and long term durability into their final product.
Why???
Because it’s something they already do like breathing.
Older technology (Read Cheap) also didn’t use the latest foam rings or partitions to isolate the IR vs lens in low priced domes to prevent IR bleed.
These same domes also didn’t incorporate the most basic water tight gaskets or glands. You’ll note many of these cheap ass domes had no IP Rating or one that was so low you might as well accepted
something is going to happen not (IF).
The idea and creation of the turret camera solved many physical & technical issues for sure. This is why they are seen and used in millions of homes and small businesses.
They are however rarely if ever seen or used in high security deployments. Having supported eight American military bases and three Canadian. Which spanned 17 years a turret camera has never been installed.
At home I use all three styles for very specific locations and reasons. But, the vast majority are dome cameras which have never seen the same issues often touted here and on the inter webs.
To put it into perspective 90% of all the hardware deployed are 1st tier. While the remaining ten percent are 2nd tier from the likes of Dahua / Hikvision.
None of these 2nd tier cameras have ever seen a failure or issues relating to water penetration, fog, IR bleed, peeling & yellowing.
The reality is besides improper installation and using cheap ass gear. Buying a camera from a reputable company even if 2nd tier will offer you more than ten years of service life before anything could possibly happen.
At ten years it’s time for a freaking upgrade!!

Seeing people still rocking 700 TV lines of resolution in 2021 just makes me shake my head?!?
Lastly, using analog cameras in very specific environments still makes sense given the zero video lag and lack of network reliance & failure points.
One of the greatest advances in that realm is seeing HD like analog. Didn’t think that dog would hunt - but does.