I'm wondering if it is bad practice,
to rely on the parameter value calculation precedence.
Man, that sounded complicated.
An example:
DataIO.GetData reads some bytes from its stream and then
DataIO.ReadToEnd reads the rest, so if the precedence were different,
all would goto hell.
So is relying on something like this a bad idea?
to rely on the parameter value calculation precedence.
Man, that sounded complicated.
An example:
Visual Basic:
ServerTCP.SendData(DataIO.GetData, DataIO.ReadToEnd)
DataIO.GetData reads some bytes from its stream and then
DataIO.ReadToEnd reads the rest, so if the precedence were different,
all would goto hell.
So is relying on something like this a bad idea?