Most tank water heaters take a 3" or 4" vent. Most tankless take a 5" or 6" so you have the extra vent expense plus installation of it. In several cases you need a 3/4" line to the water heater and perhaps increasing the gas piping from the meter to where it comes off at to provide for enough gas to run the heater. Most tank type AWH [automatic Water Heaters] run 32,000-40,000 btu per hour. Many tankless run 175,000 to 190,000 bth hr.
Hard water can plug them up, many recommend a regular cleaning cycle. OTOH, newer rules make tan type water heaters have a lot more electronic in them which are the components that are failing first instead of a tank. Deciding if you want to pay a serviceman $75 an hour to replace a $125 part in a 5 year old water heater is an all too common decision. Look at what is available from a shop you trust in your area.