One of the things that makes Dark truly unique is what we call “Trace-driven development”. The best way to write a HTTP handler in Dark is to start by making a request to the non-existent handler, then:
- using the 404s list to create the handler
- using the actual trace value to see the output of your code as you type it.
[Continued on dev.to/darklang]