No, that's not how it works. That's a perfect example of security through obscurity, which isn't actually security.
Your code should be secure from a purely technical point of view. If you need to hide your code to keep it 'secure', there is almost certainly something wrong with your code, and...