Glossary: Coding Interviews in Go
Helper function
Also written: helper
A small function that does one messy job for the main function and can be tested alone, like `orderValue` hiding the wholesale discount.
Glossary: Coding Interviews in Go
Also written: helper
A small function that does one messy job for the main function and can be tested alone, like `orderValue` hiding the wholesale discount.