The advantage to the triangle is that it is 3 equations in one easy-to-remember format. It does require an extra step (converting pressure to depth), but the easy-to-remember aspect trumps that defect.
It is 1 equation rewritten for the unknown variable.
I constantly see “gear solution to a skills problem” written around here. This is analogous.