Writing Initial Code
This material is written to help challenge creators to create quality materials that are helpful for users.
Below you will find a set of instructions that help in creating the initial codes
INFO
The initial codes are made to reduce the component of a solution and to help users.
Instruction
- Read everything! The initial code is also a code so you can also read the General Coding Guidelines.
- Testing is everything! The code must be viable to be tested. The tests must be composed in such a way that they are viable for testing and any data stored here can be read or modified programmatically.
- Take care! The user can see the initial code, so make sure that it does not provide information about how to solve the problem, or contain part of the solution.
- Keep the secret! The preloaded code should not contain any info that would reveal details of the solutions or tests.
- Do not! Do not hide useful information in the initial code snippet.
- Help! Write comments that can help the user implement the solution.
- See it but don't touch it! Users can hide and/or set the files read-only. How? With a right-click on the code editor file. (Fig. 1)
Fig. 1