KotOR 2 was better than KotOR 1, are you blind and deaf?
The writing, characters, plot, and story are much better in KotOR 2. The game system is also expanded and improved. The only "fault" of KotOR 2 as opposed to the first is that it was "unfinished" in that it was missing some chunks of content.
Obsidian, time and time again, continue to show that they have the best writers in all of the video game industry BY FAR.