Subroutines are not Web Services
Why not?
They have no discoverable description.
So a programmer
- has to know the name of the sub-routine,
- where it is located,
- and exactly how its inputs and outputs work.
And subroutines provide functions on input data.
They usually don't provide information about the
world or change the state of the world.
I.e., they don't have their own independent I/O with the world.
But most important, a program can't find and use
subroutines.
©2012
Charles Petrie - permission to reproduce widely with attribution.