not all of them had foot pedal boom swing. Those that did, the boom only swings just a little bit. It really isn't used all that much on those that do have that function.
On most all excavators, the entire cabin assembly swings with the boom-this allows you (the operator) to stay stationary in the operator's station while you excavate; allowing much better visibility among other things. Also a LOT more comfortable than a tractor/backhoe, on those you're constantly swinging the hoe around, and at the same time you're moving your head up/down/left/right. After a couple hours of that, you're worn out. You can run an excavator all day long, fairly comfortably. Well not me, I can't sit still that long.