Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Lasse Koskela wrote:If you mean whether it's easy to create DSLs within your code base using the language syntax itself - i.e. to define an API - I suppose it's not that different between Java and C#. Did you have a particular language feature in mind that would give C# an advantage in this regard?
Vyas Sanzgiri wrote:Completely agree with you Stephane. But I doubt with the community behind it that Java will evolve any faster. Take a look at some lingering bugs and issues that haven't been fixed for ages !
SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
Vyas Sanzgiri wrote:Java 7 will not have closures :http://tech.puredanger.com/java7/ I agree this is not an official source.
SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
Vyas Sanzgiri wrote:Mark had said earlier in the year that closures would not be in Java 7. So they are not consistent. So my guess is wait and watch!
I am not convinced until I see Java 7 out in the open :-)
SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
David Newton wrote:I say "no", because as a GPL it lacks many of the constructs necessary for clean DSL implementation, and has an impoverished model of abstraction.
SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
David Newton wrote:Closures are the biggest thing missing. The pomp and circumstance of Java also make things rather ugly when compared to other languages that allow a more natural internal DSL.
Java's shortcomings are well-documented; rather than continue this thread's spiral into forum-inappropriate chatter I'll just direct you to the web :)
David Newton wrote:Closures are the biggest thing missing. The pomp and circumstance of Java also make things rather ugly when compared to other languages that allow a more natural internal DSL.
Java's shortcomings are well-documented; rather than continue this thread's spiral into forum-inappropriate chatter I'll just direct you to the web :)
SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|