← Table of Contents · Page 539 of 868
THE OPEN-SOURCE LANDSCAPE
Part 3 of 9
REFERENCE IMPLEMENTATIONS AND STARTER TEMPLATES
A reference implementation is a complete, working example that shows one good way to build something.
A starter template is a ready-made project skeleton that you copy and then modify to create your own project.
Together they are like a model home and a set of blueprints.
You can walk through the model home to see how rooms fit together, and then use the blueprints to start your own.
A good minimal harness reference implementation is small enough to read from end to end in an afternoon.
Reading one is among the best learning methods available, because you see how the loop, tools, context handling, and checks actually connect.
You will do this kind of work yourself in Part Sixteen, and a starter template can serve as a seed for your capstone projects.
When you choose a template, look for these qualities.
Small size, so you can understand all of it.
Clear documentation, including how to run it.
Tests that pass, which show the code was checked.
Sensible defaults, especially safe permission settings.
An active history, with recent changes and answered questions.
A clear license that allows your intended use.
After you copy a template, own it.
Read every file, remove what you do not need, and change defaults that are too permissive.
If you do not understand a piece, do not keep it simply because it came with the template.
Advertisement
Read Aloud:
0:00 / 0:00