While browsing Stack Overflow, I have noticed that some people have posts with their email address (personal). Some are inside the code and some are in the body of the question asking answers to be sent to them.
I want to know if there are any rules regarding this. I have edited the codes which contain such email address to something like
firstname.lastname@example.org. Is this correct approach as well?