The original advice given about farms may have been correct. I can't speak to that as I have always played the game at R1.5 level. I do know one thing for sure. If you avoid building farms, you only put off your squalor problems. And you pay for it by reduced income from farming in that city. I have literally starved my factions of income upon occasion by putting off building farms. I don't do that anymore.
Also, your faction members suffer from putting off farm development as well. If you avoid building farms in a city for fear of squalor, your faction member/governor may develop the 'poor farmer' trait. The worse he gets in his attitude to farming by your choosing not to build farms the more his bad trait hurts your farm profits in whatever city he's posted. He may be a boon to your city's public order, but he's killing your city's profitability.
I used to avoid building farms when I first started playing the game. But now I consider them an integral part of my economic development. Those of you who have played the Seleucids - have you noticed how fast your profits pile up in the early going? There's two reasons for that: (1) the Seleucids start out with 6 cities, and (2) they have the Hanging Gardens wonder which increases farm profits big time. (This is also why the city of Seleucus is so important to your Parthian faction's early survival. They are a cash poor faction and need the Hanging Gardens wonder to boost their profits.)
The bottomline, I feel, is you can't avoid squalor problems in the end. And, I've found that what often drives your city over the brink into Riotsville is usually a combination of factors - squalor + distance from your capital + temple choice, et al.
I guess the bottom bottomline is - if you don't build farms, you will pay for it a couple times over. Farms are denari in your faction's coffers. And farm friendly governors put extra profits onto a city's credit ledger.
I have also noticed that not all fast-growing cities behave equally. Some fast growing cities bottom out in growth after squalor reaches a certain level and then they stop growing. But then there are others - the Egyptian cities in particular - that don't seem to stop growing no matter what.

If you're playing the Scipii and you own Egypt, you have to move your capital farther east to mitigate the riot factor.
Anyway . . . that's my two cents.

Bookmarks