Quote: a function interface should lead to correct code; avoid multiple returns, error values, and multipurpose functions; allow strong argument validation
Group: parameters
Topic: dynamic type checking
Topic: interface between program modules
Group: software maintenance
Quotation Skeleton
When you design your function interfaces, choose designs … output should represent exactly one data type. Make … Don't bury error codes in return values. … [p. 96] Don't write multipurpose functions. Write separate functions …
Google-1Google-2
Copyright clearance needed for quotation.
Related Topics
Group: parameters (10 topics, 145 quotes)
Topic: dynamic type checking (43 items)
Topic: interface between program modules (55 items)
Group: software maintenance (14 topics, 355 quotes)