I was tasked with figuring out whether carbon or nitrogen has a more negative electron affinity value. I initially picked nitrogen, just because nitrogen has a higher $Z_\mathrm{eff}$, creating a larger attraction between electrons and protons, decreasing the radius, causing a higher ionization energy, and therefore decreasing the electron affinity value, but I was actually wrong, and the solutions manual explains it as this:
"As you go from C to N across the Periodic Table you would normally expect N to have the more negative electron affinity. However, N has a half-filled p subshell, which lends it extra stability; therefore, it is harder to add an electron."
Are there any major exceptions to the rules when comparing electron affinity? I'm hesitant to use nitrogen as an exception, because I don't know how far it extends. If nitrogen has a more positive EA than carbon, does that also extend to boron, aluminium, or phosphorus?
I later found that this also applies when comparing silicon and phosphorus. The explanation given was the same.
What exceptions should be noted when comparing electron affinities? Are there any at all? And how far does the exception with atoms with half-filled p subshells extend?