While playfield and mechanical design factor into the fun of the game it is code that brings it all together. LoTR is an excellent game despite the clunky playfield, the Gollum shot that consistently rips you off, the weak upper playfield, the DTR mode that hardly worked on location (as well as the trouble that many games had with the sword lock). Why? Because of the code. The rules, along with the use of quotes and music get the player to overlook the subpar flippers that can't handle a long game, the stern slings and pop bumpers, the Palantir target that doesn't always register, and the left ramp U-turn that takes it's time giving you the ball back on a missed shot (almost as bad as MB), etc.
So attributing the games only to the designer is shortsighted, I think.
I enjoy a great layout, but without good code the game comes up short (ie TOM, ToTAN, RS).
But with nice code, even a simple layout becomes very enjoyable (DW, JB, AFM).
So, for me, clever code easily trumps silky smooth ramps and loops and the feel of a satisfying shot.