Yeah libraries are another good candidate. In my experience, libraries aren't as social, and can be a little antiseptic, but I think this varies widely based upon which library you visit.
Plenty of big-city libraries will allow you to bring coffee in, too.
I feel much guiltier in public libraries than in coffee shops. Very often not a great use of money. Everybody pays; few use.