Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 454 Bytes

oct2_functions_are_answers.md

File metadata and controls

19 lines (15 loc) · 454 Bytes

There's a function for that
What's it called?
Guess
readConfigFile()?
Pass the filename
What's the path?
There's a function for that
Just for the config path?
Yes
So readConfigFile(getConfigFilepath())?
Exactly! The code is true.
It didn't compile. But Master was gone.
#CppKoan

Almost every question can be and should be answered with a function call.

When you have a question, call a function - then write the function.