@The Senate 50 without programming droids are not droids, they are just models of droids. Their programming is essential to their status as droid. The same way that without DNA there is no human. DNA and experience define us and are essential to our status as human.
Both can lead to sentience.
Don't forget that SW definition of sentience is incorrect and, as a species, humans have got a very large blind spot when it comes to the sentience of anything non-human.