Given this method, does this represent some egregious stylistic or semantic faux pas:
private double translateSlider(int sliderVal) { switch (sliderVal) {
Yes this is good. Tutorials are not always consize and neat. Not only that, creating local variables is waste of space and inefficient