If the functions are the same, you should choose the simplest form.
Occam's razor is also known as the principle of simplicity. It is a concept named after the 14th century English logician and Franciscan friar William of Ockham. The term appears in Ockham's writings.
Don't make a lot of logic when it can be explained with fewer logics.
When explaining a phenomenon, you should not make unnecessary assumptions. If there are two claims that explain the same phenomenon, you should choose the simpler one. The more assumptions you make, the harder it is to understand the phenomenon, so it is called Occam's Razor, which removes unnecessary assumptions like a razor. Assumptions should be as few as possible and should be avoided as much as possible.
This is also true for design. When providing the same functionality, solving a problem with a minimum of visual elements can produce better results. More visual elements mean more information for the user to understand, which can be unnecessary for achieving the goal.
However, this does not mean that the absence of all elements is the best. Simplicity can be determined by defining what is the minimum functionality required from a design perspective to achieve the goal. It is important to determine how far you can cut with a razor blade to achieve the functionality that will achieve the goal.