...

/

Named Parameters

Named Parameters

In this lesson, we will briefly explain the Named Parameters.

We'll cover the following...

Problem Context

As we expressed Magic Numbers as Variables make the code easier to read. That is, as long as the names of the variables convey meaning and finding good names is hard. To illustrate this, let us return to the previous example where a timer was started and extend it to include two timers. Assuming we like the name timeoutInSeconds and would have a hard time finding a second ...