I've had several interactions with members of the Code over the years, none negative (within the context of the game) although I've certainly heard stories.
Members of the squadron I'm in have been attacked by Code pirates, intimidated with impressive displays of precision manoeuvring & fire control and on one occasion a Code pirate wound up one of us to the point where me squad-mate swore at them & was popped for it. I was sent in to negotiate & the Code pilot was extremely accommodating once I explained what we were doing, I invited them into our wing & the Code pilot cleared a path for us to complete a few wing fetch missions. We shared around 30m of rewards with them for their trouble.
On another occasion I met the then leader of the Code in a nearby system to my home, I maintained a respectful distance for my own safety (I'm no PvPer) and struck up a conversation in supercruise; initially as misdirection so I could complete my missions but to try to gain some intel on what was going on. The guy I spoke to was as enthusiastic about the game as I was, and just wanted reasons to fight, because combat in this game is fun (for them).
When the Code split a few months ago my impression was that it was because while BGS manipulation offered the best kind of PvP (ie actually meaningful) it was so rare it wasn't worth the hassle because they never met their opposition, they were playing in Group, or on another platform, or just in a different timezone or with too high latency for matchmaking to work.
I thought it was a good idea, to become the 'baddie' in the faction sense as well as a direct PvP threat but it's just too easy to switch to group or solo & undermine a faction & that's not why they were playing. I gather many of them just went back to ganking because as any white hat knows it's way easier to just attack anyone you can instance with & maybe get a decent fight than to try to find specific players you want to attack.
The galaxy would be a boring place if everyone got along, but it would be a more entertaining place if more people did play in open & make themselves available to entertain others, as they provide entertainment for you
I try to not pick sides myself, I sit somewhere close to the middle & get attacked by everyone