www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Are function literals deprecated?

reply Victor L Porton <porton narod.ru> writes:
I am writing a book about D (I already have 150 pages).

Are function literals considered deprecated in regard of using 
delegates instead?
Aug 03 2020
parent Adam D. Ruppe <destructionator gmail.com> writes:
On Monday, 3 August 2020 at 14:23:56 UTC, Victor L Porton wrote:
 Are function literals considered deprecated in regard of using 
 delegates instead?
No, they both work well for different purposes.
Aug 03 2020