It definately is table-dependent.
As DM, I’m not one who enjoys seeing character death, but sometimes it’s a consequence. I try to minimize the time it occurs due to bad luck or the DM overestimating the party’s capabilities. But if a character dies, either the group needs to pool for a ressurection or the player needs to roll up a new PC. I’ve only had one taker on the resurrection front.
As a player, I find it easy enough for me to roll up a replacement if my PC gets killed. Though, in one of the current games I’m in the DM goes way out of their way to make sure PCs can’t get killed (usually a last-minute save by a DMNPC or the enemy suddenly stops fighting for some bizarre reason). I hate it as it’s overly obvious. Still, I’ve managed to be on my 3rd character in this game (which doesn’t bother me, I get to try out new things).
On the other hand, a few years back I was in a game where my elvin enchanter got taken out by a ghoul/ghast pack (a TPK, to boot, I lasted the longest). I quit that game, and did not come back to it, as I had felt the situation the group had been put into in the first place had been unwinnable from the start.
So what is the right answer for one table might not be right for others. In the end, read the people at the table. Some can handle the consequences, others will balk. Some may need to even find another table because the fit isn’t right.