3 ms·
What I would miss, in the above, is information about: - where the page is being read from - what page numbers the function accepts - what happens if an inva
by layer8 4y ago
What I would miss, in the above, is information about:
- where the page is being read from
- what page numbers the function accepts
- what happens if an invalid page number is specified (or if that’s deliberately undefined, stating that fact)
- other possible error conditions, if any
(I’ll assume that PageData already documents what “page” refers to in that context, because for me it’s not “self explanatory” just from the function signature you provided.)