Greetings ..
function hello =lambda() {}
or
void hello() {}
In Pike, which form is prefered or optimal? Why?
TIA ...
--
Duke
** Text only please. Bottom post is best. **
On Fri, Dec 10, 2021 at 1:10 PM Duke Normandin wrote:
>
> Greetings ..
>
> function hello =lambda() {}
>
> or
>
> void hello() {}
>
> In Pike, which form is prefered or optimal? Why?
> TIA ...
Definitely the second, unless you need it to be a variable.
ChrisA
On Fri, 10 Dec 2021 15:28:59 +1100
Chris Angelico wrote:
> On Fri, Dec 10, 2021 at 3:06 PM Duke Normandin
> wrote:
> >
> > On Fri, 10 Dec 2021 14:09:21 +1100
> > Chris Angelico wrote:
> >
> > > On Fri, Dec 10, 2021 at 1:10 PM Duke Normandin
> > > wrote:
> > > >
> > > > Greetings ..
> > > >
> >