Literally
Convention is something that can be broken
Rule is something that cannot be broken
In IT ..,
Rule is something that can be broken,
Convention is something that cannot be broken
Does it sound
either amazing ( that means you already understood it, you can afford to skip reading the rest)
or confusing ( you must read to find out what it means )?
First the Litral meaning:
In real world ( non-computer world )
you can not break a rule, you will be either peanilised or punished for breaking a rule.
eg: you cannot break a traffic rule
You can certainly break away from concention, and thats how most of the fashion industry works.
you can try a new hair style which is not one of the regular styles men/women of your status would have.
now in the computer World
You can break a rule, your java compiler might yell a few warnings yet your code will work ( even if not the way u expected it to work)
but break a convention .., NO way.,
eg: the convention is that your mail server runs on port 25 .., as a rule & technically this server can run on any port that is vacent in the host system .., but that wonnt get you anywhere. as the whole world as a convention expects mail servers to work on port 25.
so .., you cannt break a convention in the computer world..,
is it clear now..??
information provided by my friend : Lakshmi