The Big Bang Theory is known for its quirky characters, particularly Leonard, Sheldon, Raj, and Howard. However, in the show's original pilot, there were some significant differences. The character of Penny, played Kaley Cuoco, did not exist, and instead, Amanda Walsh portrayed a character named Katie. The creators felt that Walsh lacked chemistry, leading them to change the female lead to Penny.
Additionally, Raj and Howard were not part of the original pilot, but they were later added to replace another character named Gilda. The only two characters who remained unchanged from the pilot were Leonard and Sheldon.
In the show, Sheldon is depicted as socially inept, awkward, and disconnected from others' feelings. While he can be obnoxious at times, his charming naivety won over the audience and contributed to the show's success. However, in the original plot, Sheldon was meant to be sleazy and perverted. While this may have aligned with his overall weird dynamics, it would likely have alienated many viewers.
A genius scientist with a corrupt personality might sound intriguing on paper, but it would have been a disaster for the show.
Overall, the writers of The Big Bang Theory narrowly avoided a major creative disaster by altering Sheldon's character. The show's success can be attributed, in part, to the decision to make Sheldon socially awkward and naive rather than sleazy and perverted.