I think the squat is a great exercise in a general fitness program with these three caveats:
1. The heels stay in contact with the floor throughout the entire movement, both the concentric and eccentric phases.
2. The knees do not flex beyond 90 degrees.
3. The knees do not go in front of the toes.