Besides, i find the coffee shops in the city are usually very cramped, lots of noise and young parents/babies, mediocre wifi. I enjoy working from a coworking space and i also enjoy a proper working enviroment with a beefy workstation, 2 external displays, people around that are developers vs young hipster moms, stable fast internet etc. I go to the coffee shop to take a break and well, grab a coffee.
A partial workaround for this can be to prop the back of the laptop up with a book. Being careful not to block any critical ventilation slots with the book.
I also find the noise can be distracting, unless its a really busy cafe, where all the conversations can blend into a sort of "white noise". Even then, that noise tires me out after an hour or two.