On StackOverflow I often see this:
I’m having a code which (does such and such, followed by a fragment of code)
Is I am having a code grammatically correct? I think it is incorrect, and that it should be, I have some code, but I continue to see it more and more frequently.
Is it grammatically correct, or is it a common error? If it is correct, why?