Now, I know how to represent decimal numbers in octal and hexadecimal notation and can seamlessly convert from one number system to another with no problem, but what I want to ask is what is the purpose of writing decimal numbers like 8 with a zero in the octal system like this: 010 and a 0x in the hexadecimal system like: 0x8 ?
Was it for convenience sake or to simply differentiate each number system from each other? Is there a historical reason for it?