|
|
|
|
|
by tunesmith
4321 days ago
|
|
Wouldn't literate programming encourage a very linear style of programming with long methods? It seems like it would encourage the opposite of single-responsibility-principle, since it's really hard to read a narrative that jumps all over the place. |
|
I would think for most programs there is a very direct sense of linearity in getting a task done. Sure, you will often have a lot of support methods. But seeing them just directly listed can be as much of a distraction as anything else.
Note, also, for nontrivial applications, you will likely have a collection of literate programs. Not just one giant literate program.