Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Xtend2] blog and screencast
[Xtend2] blog and screencast [message #742403] Thu, 20 October 2011 13:05 Go to next message
Hallvard Traetteberg is currently offline Hallvard Traetteberg
Messages: 594
Registered: July 2009
Location: Trondheim, Norway
Senior Member
Hi,

I just read/saw Sven's blog entry and screencast about Xtend2:
http://blog.efftinge.de/2011/10/xtend-21-type-safe-groovy-style-builder.html

Two questions:
- I like the way the implicit it variable simplifies the code. Is it
(pun intended) built into Xbase or "only" part of Xtend?
- In the forum, there was a discussion about a syntax for creating and
initializing object structures. This should provide some of the same
functionality as the builder in the screencast, yet is generic by not
requiring a special builder API (just constructors and setters/adders).
Is this part of the same release?

Hallvard
Re: [Xtend2] blog and screencast [message #756279 is a reply to message #742403] Fri, 11 November 2011 18:50 Go to previous message
Sven Efftinge is currently offline Sven Efftinge
Messages: 1762
Registered: July 2009
Senior Member
Am 10/20/11 3:05 PM, schrieb Hallvard Trætteberg:
> Hi,
>
> I just read/saw Sven's blog entry and screencast about Xtend2:
> http://blog.efftinge.de/2011/10/xtend-21-type-safe-groovy-style-builder.html
>
>
> Two questions:
> - I like the way the implicit it variable simplifies the code. Is it
> (pun intended) built into Xbase or "only" part of Xtend?

It's built into Xbase.

> - In the forum, there was a discussion about a syntax for creating and
> initializing object structures. This should provide some of the same
> functionality as the builder in the screencast, yet is generic by not
> requiring a special builder API (just constructors and setters/adders).
> Is this part of the same release?

No. The builder API is the way to do these kind of things.

Sven


--
Need professional support for Xtext or other Eclipse Modeling technologies?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : http://blog.efftinge.de


--
Need professional support on Xtext or Xtend?
Mail to: xtext (at) itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Previous Topic:[Xpand/Xtend 1] What future can Xpand/Xtend expect?
Next Topic:how to get object instead of the auto-generated code from the value of XMIReferenceAttribute in uml
Goto Forum:
  


Current Time: Wed Sep 17 19:46:09 GMT 2014

Powered by FUDForum. Page generated in 0.02513 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software