The city as an algorithm

What can the cities of tomorrow learn from the evolution of Venice with its millennia-long reputation for innovation and enduring stability?