in reply to Handling braces with methods without arguments
Every method receives at least one argument: itself.
So an 'argumentless' method is akin to a function that takes only one argument. Like close, flush, tell etc. for us on files.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Handling braces with methods without arguments
by McA (Priest) on Sep 17, 2012 at 11:01 UTC | |
by BrowserUk (Patriarch) on Sep 17, 2012 at 11:10 UTC | |
by BrowserUk (Patriarch) on Sep 17, 2012 at 11:33 UTC | |
by McA (Priest) on Sep 17, 2012 at 12:51 UTC |