3 ms·
Sounds like a list of edge cases just like any other area. Myths programers believe about cars: Cars in the same lane always travel in the same direction. Ea
by sandworm101 1y ago
Sounds like a list of edge cases just like any other area.
Myths programers believe about cars:
Cars in the same lane always travel in the same direction.
Each street has a name.
Each street has a unique name.
Each street has only one name.
Cars have four wheels.
Cars never move vertically.
Roads never move.
Roads never cross water without bridges.
When two roads cross, the do so at an intersection.
Take any field in human experience and one can make such a list.
All boats float. Ships are bigger than boats. Boats are slower than airplanes. Boats only travel on water.
- lostlogin 1y ago> Sounds like a list of edge cases just like any other area. That's exactly the point. The famous example (Falsehoods Programmers Believe About Names) has examples I have encountered in medical databases. If a programmer somewhere didn't fall into the trap, patient names in a medical database would have been better managed and may have avoided duplication, lost records, etc. https://news.ycombinator.com/item?id=18567548 https://news.ycombinator.com/item?id=18567548
- genewitch 1y ago> Ships are bigger than boats to the best of my recollection, the only way to tell a ship from a boat is to watch it make a "high" speed turn, ships lean out, boats lean in. But this is probably incorrect, just like all of my education was.
- Scarblac 1y agoThe only one I know is that ships can carry boats, not vice versa.
- bombcar 1y agoShips can carry ships, though. But then the ship becomes a boat?
- deleted 1y ago[deleted]
- sandworm101 1y agoSubmarines are considered "boats". The leaning thing is only about the position of the rudder in relation to the center of gravity while moving. Small boats that ride high in the water will lean into turns because the rudder is well below the center of mass. But a hydrofoil "ship" will do the same. Many small sailboats will lean out of turns too, even though they are "boats".
- mentalpiracy 1y agoships use ports, boats use docks.