Good point Hamma.
It's possible that many of us who have fished docks for many years assume the sun/shade thing is a given and everyone gets it. In hind sight, I'm sure that is not the case. Those newer to fishing, whether it's docks or any cover for that matter, may not get that. There are probably some seasoned anglers who never really thought about the attraction/protection as well. Sun, as does wind and current, do play a huge roll in how fish set up on docks most of the time. For example I find that in Winter, like on a jerk bait bite, the fish will often times be on the sunny side of docks. They are taking advantage of the solar heating while still taking advantage of all the things the the dock offers. Other times, probably most of the time, the shadiest part of the docks are the key. Many times they are so far under the dock, in the darkest part you can find, that it is very hard to get a bait to them. Even harder to get them out. During the Summer, brush piles under the shady side with some wind blowing in to that side of the dock can be the best pattern on the lake. On the other hand, if you have some fish on a dock and you get a day of overcast or rain, the fish that were buried up under the dock or in brush under and around the dock tend to move to the outside edges and corners and the bank behind the dock. These can be the days when it's lights out around the docks on a ton of different baits. I think the main point of this thread is, if you have docks on your lake and don't fish them much you're probably not catching as many fish as you could be catching. They are bass magnets.