Re: Replacement for lambda - 'def' as an expression?



Terry Reedy enlightened us with:
> Are you claiming that including a reference to the more humanly readable
> representation of a function (its source code) somehow detracts from the
> beauty of the function concept?

Nope.

> Or are you claiming that binding a function to a name rather than
> some other access reference (like a list slot) somehow detracts from
> its conceptual beauty?

Nope.

> Is so, would you say the same about numbers?

Nope.

I was under the (apparently very wrong) impression (don't ask my why)
that something like the example that Paul Rubin gave wouldn't be
possible. Now that I've learned that, I take back what I've said. His
code is more beautyful IMO ;-)

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
.



Relevant Pages

  • Re: Better Java error messages
    ... You need to find the method or methods in the call stack which happily handled, created, forwarded the null reference, but shouldn't. ... The exact one depends on the design of your application. ... You can do a lot of things just with the stack trace and your source code at hand. ... Look at the stack trace to figure out where you didn't take the necessary precautions to guard against that. ...
    (comp.lang.java.programmer)
  • Re: Programming the GS
    ... My recommendation for newcomers to IIgs programming is Complete Pascal ... grab a copy of CP from my site here:http://apple2.sytes.net/TML_Pascal/index.html ... they come with source code to give you some ideas on how things fit ... reference. ...
    (comp.sys.apple2)
  • Re: Javascript help
    ... perhaps someone could provide a reference to back up this claim? ... That would depend on the competence of the poster. ... Nobody forces people to release source code. ...
    (comp.programming)
  • Re: Include Statement
    ... It's also possible to share files containing source code between multiple projects, by adding them as a reference. ... I have created some basic VB.NET classes and right now I needed to add it to the VBC options setup in my F9 compiler action. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Replacement for lambda - def as an expression?
    ... > representation of a function (its source code) somehow detracts from the ... > beauty of the function concept? ... > slot) somehow detracts from its conceptual beauty? ...
    (comp.lang.python)