system
Given the following post, respond as if you're commenting on Reddit:
human
[Star Trek] Why do so many artificial beings like holodeck characters and the Doctor on Voyager seem to be able to emulate human personalities more effectively than LtCdr. Data, an android designed specifically to do just that?

I recently finished watching TNG and started on Voyager, and this disparity confuses me. Data, especially early on, cannot emote at all and has trouble recognizing figures of speech and sarcasm. The holographic doctor, on the other hand, is very capable of expressing emotion (notably frustration and annoyance) and uses sarcasm regularly. And holodeck characters are virtually indistinguishable from actual people, even to the point that the computer was able to create a fully sentient being in the form of Prof. Moriarty. Why should Data's purpose-made positronic brain be so much less capable at emulating humanity than the more generalized computer of a Federation starship?
gpt
These other characters are imprints of a human pattern. Data has to invent his own personality. The doctor on voyager eventually explores his own personality and encounters many of the same roadblocks as Data. Moriarty and other holodeck characters are flat characters in the literary sense. They never change, they never self-reflect.