It's good that you're rejecting that attitude, but that doesn't necessarily invalidate the grandparent's point. Some people can't learn to code because their mind just doesn't work that way. Just like they probably have some skill that we probably can't learn because our minds don't work that way.