| All |
Ensure all variables are named lower case with _ (underscore) separation → snake case |
- |
Variable Names |
loose_price, purchase_discount_2 |
loosePrice, purchase_discount2, purchaseDiscount2 |
| All |
Ensure all method names are lower case with _ (underscore) separation → snake case |
- |
Method Names |
enrich_loose_flag |
enrichLooseFlag, enrich_LooseFlag |
| All |
Ensure all file names are lower case with _ (underscore) separation |
- |
File Names |
utils.py, sales_controller.dart |
Utils.py, salesController.dart |
| All |
Ensure all Classes are Camel Cased with all first letter of word in Caps |
- |
Class Names |
InputValidationException, SalesServicesController |
inputValidationException, sales_services_controller |
| All |
Before adding a new variable, ensure it is not defined already in the Data Dictionary. ASK IF UNSURE. Ensure that you add the new variable to the Data Dictionary, if it is not already added. |
When defining a new variable |
Variable Names |
- |
- |
| All |
Define all attributes as needed by Data Dictionary |
- |
- |
- |
- |
| Backend |
Ensure to throw InputValidationException when raising validation errors |
When raising a validation error |
Exception Handling |
- |
- |
| All |
Type Safety Checks - ensure all method input params and return types are typed strongly |
All Methods |
Type Safety |
- |
- |