Depends on how long you want your game to last before it breaks.
Random character generation bakes in the brokenness before play even starts.
I have a friend who swears by random, but he almost always rolls considerably better than the average for the number of dice given.
LMAO... I've seen characters with randomly rolled hit points that exceed maximum die values.
For HP, I give characters the maximum at first level, and the average dice roll, rounded up afterward.
I had a friend whose dwarf fighter had an 18 Con and rolled four consecutive 10s for HP. I saw all dice rolls, but if I hadn't I would've expected some funny business. I also witnessed a fighter that rolled consecutive 1s of HP. The character died, and that player indicated they would rater start over than keep it alive. Randomness in character generation and development is not IMVHO good.
Personally I tend to favor point buy with a lower minimum attribute value It works out to being equivalent to 30 point point buy, with extra points given to offset the starting score of 6 instead of 8 (for a total of 42 points) and with the condition that no score be below six. If a score is below that after racial mods they have to buy it up to 6.
I threw out racial mods, because it pidgeonholed players into only running certain race/class combinations.