Ideal is such a strong word, and I am afraid neither of them is ideal.
For moderate recreational or commute usage, they will provide very similar performance. They would differ more in price (both at start but also in maintenance cost, like cost of chain replacement), smoothness of operation, and possibly durability (so components would need to be replaced more often).
With 3x8 being oldest, I would expect it to be the cheapest, robust, and possibly a bit less refined in shifting, and cheap to maintain.
As for 2x10 being newest, I would expect it to be the most expensive, probably most refined, but somewhat less durable and certainly more expensive to maintain.
Keep in mind these are just rough generalization, top of the line 3x8 component could be more refined or more durable than bottom of the line 2x10 component.
For me personally 3x9 is currently sweet spot, other people would have different preferences.