Knuth's style allows code to be written in any order using named chunks.
AFAIK, there are some types of notebooks that allow the use of chunks, but I've never seen people writing in those.
AFAIK, there are some types of notebooks that allow the use of chunks, but I've never seen people writing in those.