function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SFDC_DevloperSFDC_Devloper 

Why Governor Limits are introduced in Salesforce.com?

Hi All,

   Why Governor Limits are introduced in Salesforce.com?

Thanks,
Allways Cool
Damien Phillippi033905702927186443Damien Phillippi033905702927186443
The main reason is because Salesforce is basically giving you their cloud to develop on.  You have to share this space with many other people and if you write an infinite loop for example, those resources will be hogged by your orgs which will slow down other orgs.  (Infinite oops are the extreme case, but essentially it comes down to making the code ineffient.)  So without governor limits each org would need to have higher potential computing power which would cost Salesforce more money to run each org which would in require the customers to pay more for their orgs since they theoretically have no limit on what can be going on.  Hopefully my pseudo explanation makes sense.