Yeah your friend is a goof. Factory glock barrels are plenty accurate. If you like shooting lead some people like lone wolf barrels as they have standard land and groove rifling instead of polygonal rifling. personally i have shot thousands of lead projectiles through a polygonal rifled barrel with no more leading than land and groove.
As for more accurate you are better served taking a few advanced pistol shooting classes than fooling with barrels.