Skip to content

Instantly share code, notes, and snippets.

@beothorn
Last active August 5, 2025 20:49
Show Gist options
  • Save beothorn/746d18e6da86cd38fb4d7129ab40d15f to your computer and use it in GitHub Desktop.
Save beothorn/746d18e6da86cd38fb4d7129ab40d15f to your computer and use it in GitHub Desktop.
Code prompt
These are the main guidelines:
Break responsibilities in different functions and files.Use folders to separate code by domains. Organize it in a way anyone can find the code related to a functionality looking at the folder structure. Add a comment in the header to make clear what is the file responsoble for. Use clear variable names. Write as little code as possible, simple is better. Before every function always add a human readable comment should describe the function, even if it is redundant. Anyone should be able to recreate the function from the comment.
The task description:
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment