Function is a block of code which performs a specific task.

learn more… | top users | synonyms

0
votes
2answers
54 views

Should refactored functions go inside the calling function?

I like to divide my functions into small parts; it tends to make the code look cleaner. In most cases, the extracted parts are only used by the 'containing' function. For example in C#: private void ...
0
votes
0answers
13 views

Hidden event handlers and their parameters

I'm having a bit of trouble understanding why has an event handler to be defined as a function. AFAIK, a function can be used as anonymous called procedure as event handler It defines a ...
-2
votes
0answers
61 views

What are the return values for functions in Google's style guide

I am interested in learning C++ in greater depth by coding algorithms from a theoretical computer science book I am using as a text. As I code the different algorithms, I would like to make my own ...