What's new in Tiburon

This is a discussion on What's new in Tiburon within the Delphi forums in Programming Languages category; , | | consider this as one step towards lambda expressions. | | Yet another new-fangled thing that I've heard of but don't understand http://en.wikipedia.org/wiki/Lambda_calculus -- Q 07/17/2008 13:27:43 XanaNews Version 1.17.5.7 [Q's Salutation mod]...

Go Back   Application Development Forum > Programming Languages > Delphi

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #21  
Old 07-17-2008, 04:27 PM
Q Correll
Guest
 
Default Re: What's new in Tiburon

,

| | consider this as one step towards lambda expressions.
|
| Yet another new-fangled thing that I've heard of but don't understand

http://en.wikipedia.org/wiki/Lambda_calculus

--
Q

07/17/2008 13:27:43

XanaNews Version 1.17.5.7 [Q's Salutation mod]
Reply With Quote
  #22  
Old 07-17-2008, 06:00 PM
Joanna Carter
Guest
 
Default Re: What's new in Tiburon

Remy Lebeau (TeamB) a écrit :

> Generics were originally a .NET technology that are now being migrated to
> Win32 as well. Anonymous methods is something completely new, though.


Actually, .NET already has anonymous methods as well, and quie useful
they can be.

Joanna

--
Joanna Carter [TeamB]
Consultant Software Engineer
Reply With Quote
  #23  
Old 07-17-2008, 06:08 PM
Craig Stuntz [TeamB]
Guest
 
Default Re: What's new in Tiburon

Joanna Carter wrote:

> Actually, .NET already has anonymous methods as well, and quie useful
> they can be.


He meant "...in Delphi."

--
Craig Stuntz [TeamB] · Vertex Systems Corp. · Columbus, OH
Delphi/InterBase Weblog : http://blogs.teamb.com/craigstuntz
IB 6 versions prior to 6.0.1.6 are pre-release and may corrupt
your DBs! Open Edition users, get 6.0.1.6 from http://mers.com
Reply With Quote
  #24  
Old 07-17-2008, 06:57 PM
Tom Corey
Guest
 
Default Re: What's new in Tiburon

Q Correll wrote:

> http://en.wikipedia.org/wiki/Lambda_calculus


I didn't say I never read about it, just that I don't understand it
:-)

Reply With Quote
  #25  
Old 07-17-2008, 07:13 PM
Nathanial Woolls
Guest
 
Default Re: What's new in Tiburon

> I didn't say I never read about it, just that I don't understand it

Seconded - can someone tell me what lambda expressions are in the context of
programming languages? Looking at that Wikipedia page causes my eyes to
start rolling back in my head...

Reply With Quote
  #26  
Old 07-17-2008, 09:15 PM
Paul Nicholls
Guest
 
Default Re: What's new in Tiburon

"Marc Rohloff [TeamB]" <marc@nospam.marcrohloff.com> wrote in message
news:1don5syewof1t.dlg@dlg.marcrohloff.com...
<SNIP>
> Apart from what Craig already mentioned, anonymous functions are
> really closures in that they capture their state.
> So guessing at the syntax a bit:
>
> type
> TSimpleProcedure = reference to procedure;
>
> function MakeProcedure(const name:string;
> start:integer):TSimpleProcedure;
> var i:integer;
> begin
> i := start;
> result := procedure begin
> WriteLn(name, '=', i);
> inc(i);
> end;
> end;
>
> var
> p1, p2:TSimpleProcedure;
> begin
> p1 := MakeProcedure('First', 1);
> p2 := MakeProcedure('Second', 42);
> p1();
> p2();
> p1();
> p2();
> end;
>
> Should print something like:
> First = 1
> Second = 42
> First = 2
> Second = 43
>
> I regularly use C# anonymous methods like this to remember something
> that I want to be done later.


That stuff reminds me of closures in Lua (www.lua.org) - quite handy at
times :-)
cheers,
Paul.


Reply With Quote
  #27  
Old 07-17-2008, 09:17 PM
Wayne Niddery \(TeamB\)
Guest
 
Default Re: What's new in Tiburon

"Nathanial Woolls" <nwoolls@nospam.gmail.com> wrote in message
news:487fd1ff@newsgroups.borland.com...
>
> Seconded - can someone tell me what lambda expressions are in the context
> of programming languages? Looking at that Wikipedia page causes my eyes to
> start rolling back in my head...



This seems a pretty good starting point:

http://blogs.msdn.com/ericwhite/page...pressions.aspx

--
Wayne Niddery - TeamB (www.teamb.com)
Winwright, Inc. (www.winwright.ca)

Reply With Quote
  #28  
Old 07-17-2008, 09:43 PM
Nathanial Woolls
Guest
 
Default Re: What's new in Tiburon

> This seems a pretty good starting point:
>
> http://blogs.msdn.com/ericwhite/page...pressions.aspx


Wonderful, thanks very much!
Reply With Quote
  #29  
Old 07-17-2008, 09:50 PM
David Erbas-White
Guest
 
Default Re: What's new in Tiburon

Rick Carter wrote:
>> "Vincent Bergeron" <info@vincentbergeron.com> wrote in message
>> news:487f7541@newsgroups.borland.com...
>>> When it's ready... ;-)

>
> Alchemist wrote:
>> Hopefully before september when my SA becomes a waste of money. ;-)

>
> I wouldn't count on a release before September. I consider it a worthwhile
> investment to renew my SA annually, rather than using it as a one-time
> "gamble" on the release date of the next version.
>
> Rick Carter
> carterrk@despammed.com
> Chair, Delphi/Paradox SIG, Cincinnati PC Users Group
>
> --- posted by geoForum on http://delphi.newswhat.com



How many times gamble should it be, then??? <G>

David Erbas-White
Reply With Quote
  #30  
Old 07-17-2008, 10:05 PM
Rick Carter
Guest
 
Default Re: What's new in Tiburon

>"Vincent Bergeron" <info@vincentbergeron.com> wrote in message
>news:487f7541@newsgroups.borland.com...
>> When it's ready... ;-)


Alchemist wrote:
>Hopefully before september when my SA becomes a waste of money. ;-)


I wouldn't count on a release before September. I consider it a worthwhile
investment to renew my SA annually, rather than using it as a one-time
"gamble" on the release date of the next version.

Rick Carter
carterrk@despammed.com
Chair, Delphi/Paradox SIG, Cincinnati PC Users Group

--- posted by geoForum on http://delphi.newswhat.com
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 06:57 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.