It’s possible people assumed you didn’t know how to code “because you were a girl.” It’s likely, though, that they assumed you didn’t know how to code because most people don’t know how to code.