When I first read about D's CTFE capabilities, I imagined a full-fledged computing environment both at compile-time and at run-time. I thought the aim was to provide a language which can compile into its own source code, which in turn can compile into a binary. Right now I understand, that it's not the case. I certainly have no right to complain, so all I can say is that I had too high hopes. Despite a few broken hopes, D remain the #1 champion among languages.
On Thu, Nov 29, 2012 at 2:25 PM, Walter Bright <newshou...@digitalmars.com>wrote: > On 11/29/2012 6:40 PM, Jacob Carlborg wrote: > >> On 2012-11-29 03:00, Walter Bright wrote: >> >> An attribute would bring along with it the notion of having some static >>> constructors care about dependencies and others not. A pragma would be >>> global to the module. >>> >> >> Why can't the attribute be global to the module? >> >> > Because attributes attach to the declarations they enclose. A global > attribute would be something else. > -- Bye, Gor Gyolchanyan.