paradigmsconvention-over-configur

Benefits of the "Convention over Configuration" paradigm


What are the benefits of the "Convention over Configuration" paradigm in web development? And are there cases where sticking with it don't make sense?

Thanks


Solution

  • Convention states that 90% of the time it will be a certain way. When you deviate from that convention then you can make changes...versus forcing each and every user to understand each and every configuration parameter. The idea is that if you need it to differ you will search it out at that point in time versus trying to wrap your head around all the configuration parameters when it often times has no real value.

    IMHO it always makes sense. Making convention the priority over explicit configuration is ideal. Again if someone has a concern, they will force themselves to investigate the need.