Would not be interesting if typescript will add "macros"?

Topics: General
Oct 1, 2012 at 9:41 PM

Would not be interesting if typescript will add "macros"?

I wold expected something more "coffeescriptish" from typescript.

The javascript language is soooo verbose.

Coordinator
Oct 4, 2012 at 7:25 PM

Do you have specific types of macros you're looking for (or specific things you want made easier)?

Oct 5, 2012 at 4:28 PM

For example at this stage we do not have constructs like those in Coffeescript or c#:

foreach x in y {

}

foreach x of y {

}

repeat { } n times

linq to js      var query = from a in arr where (a>0);

Macros could be useful to implement some kind o internal DSLs...

 

 

 

 

 

Coordinator
Oct 5, 2012 at 6:17 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.