This is a hit or miss. Say they are looking for a C coder. A bad recruiter (most of them) would just discard this as he/she wouldn't even recognize it as C code, just some junk not fitting into his/her template.
A good recruiter though, or if a recruiter wasn't used - they would see this as smart and creative and definitely get you an interview.
I've seen companies shutting down/relocated because of bad recruiters filtering good programmers like this.