how can i best bend/curve a mesh or fix this glitchy looking bend?
Using a curve modifier and starting from this position (curve modifier on the canon) :




Go to edit mode
ctrl+R, the move to the straight cylinder part and mouse wheel or use page up to increase the number of cuts 
Validate using LMB, eventually move the cuts, then LMB again (or escape to stay at the initial position)