But with both characters you mentioned, Bond and Hercule Peroit, their personalities are an integral part of their stories. But its integrated into the story and not as an explanation. Hints here and there to give it flavor. Hints here and there to give it flavor. That's what makes a good writer, the ability to weave it in so it doesn't distract from the story but instead gives it texture.
Hints of character interspersed in dialogue and action that provide flavor - that's
how its done in short stories, so that's not what we're discussing at all. Showing the history, the day to day life and family of the detective - that's not hints. What is being suggested in this thread is making all those aspects take up chunks of the book.
(Also imo Peroit has next to no personality but that's besides the point.)
Let's use a set of movies as an example: The Pirates of the Caribbean movies.
We don't know who Jack Sparrow is. We learn that Sparrow had a ship, and his crew mutinied. His goal is to get the ship back and to take his revenge. We only learn that he was dumped on an island, and how he got off that island, because he ends up on that island again (it's plot relevant). We learn that he is a notorious pirate. That is all we learn about his background. All we know about his motivations are that he wants his ship, and that he enjoys being a notorious pirate, and that causes him to rub it in the face of the authority. Even in the third movie, we meet his father, but we don't know anything about their relationship, they don't talk about their past, nothing. And yet he is an interesting and fun character; it's
what and
how he does things that's interesting.
The same thing goes for the Joker. All we know about his past is that he was The Red Hood, he fell in a vat, he is now the Joker. His behavior is unpredictable, and his motivation is purely chaos. And yet he is still interesting and fun; it's
what and
how he does things that's interesting.
The way that you are talking, not only do we need to know all that other stuff about them because it's important, but we need to spend a good amount of time on them. But we don't.
Basically, look at any Pulp story. It's all about "What is happening right now". And what's happening right now is typically action, or the leadup to action. The story doesn't stay still. The descriptions are minimal, just enough to tell you a sense of something and then it's moving. There's next to no background, characterization is all in action or dialogue, etc.