Oftentimes data structures\' valid initialization is to set all members to zero. Even when programming in C++, one may need to interface with an external API for which this
some_struct s = { 0 }; is guaranteed to work; memset relies on implementation details and is best avoided.
some_struct s = { 0 };
memset