- Repeating the same code throughout your codebase is usually preferable to abstracting and reusing code because it’s easier for novice developers to understand.
- Developers using the HubSpot CMS are discouraged from reusing snippets of code because the cost of the CMS is prorated by file size and we would prefer that your codebase is extremely large.
- DRY is an acronym that stands for Do Right Yesterday. It means that finishing a project early is better than taking extra time to make a codebase maintainable.
- Reducing instances of repeated code helps to keep your codebase tidy and bug free.
Which of the following is NOT possible with HubL?
Passing data from HubL to client side code Passing data from client side code to HubL Looping through data Conditionally executing HubL statements