Choosing to take CA58 instead of the recommended CA46 from I5 to CA99 will take you through a very congested shopping area in Bakersfield, likely meaning some delays.
Choosing to take CA58 all the way to I40 and then US95 instead of cutting down US395/I15 to I10 as previously recommended ads nearly 50 miles to the trip.
So as GLC noted, if you don't mind adding more than an hour to your drive, there is nothing wrong with taking your proposed route over the one that was suggested here.