Power of most programming languages is that You can use functions, so You have to write only one"part of code" - function to control servo or flex sensor. In code you made, you have to just use this one function and say which servo you will be talking to at the moment, so you can have many servos connected with not a big increase in program size.
Slawek.