Coding Standards/conventions Question:

Size of Scripts and libraries?

Tweet Share WhatsApp

Answer:

Main script section ("Sub Main .. End Sub) and function bodies should fit within an A4-page (approx. two monitor-pages). If the code doesn't fit it is a candidate to do more decoupling to separate small functions. The bigger a function body the harder to read and maintain.

Download Coding Standards PDF Read All 26 Coding Standards Questions
Previous QuestionNext Question
How to deal both scripts and libs in Scripts and libraries?Documentation Introduction