Algorithms and allegories