Re: Source code annotations alla Java

2014-12-11 Thread Steven Schveighoffer via Digitalmars-d-learn
On 12/10/14 1:16 AM, Denis Gladkiy wrote: On Thursday, 20 January 2011 at 13:49:30 UTC, Justin Johansson wrote: Not long ago the Java Language people introduced the idea of annotations together with an annotation processing tool (apt). Now perhaps the idea of source code annotations is not actu

Re: Source code annotations alla Java

2014-12-10 Thread Paulo Pinto via Digitalmars-d-learn
On Thursday, 20 January 2011 at 14:04:54 UTC, Steven Schveighoffer wrote: On Thu, 20 Jan 2011 08:47:28 -0500, Justin Johansson wrote: Not long ago the Java Language people introduced the idea of annotations together with an annotation processing tool (apt). Now perhaps the idea of source co

Re: Source code annotations alla Java

2014-12-09 Thread Denis Gladkiy via Digitalmars-d-learn
On Thursday, 20 January 2011 at 13:49:30 UTC, Justin Johansson wrote: Not long ago the Java Language people introduced the idea of annotations together with an annotation processing tool (apt). Now perhaps the idea of source code annotations is not actually a Java invention per se, however for

Re: Source code annotations alla Java

2014-01-30 Thread Mengu
On Thursday, 20 January 2011 at 18:19:21 UTC, Jacob Carlborg wrote: On 2011-01-20 14:47, Justin Johansson wrote: Not long ago the Java Language people introduced the idea of annotations together with an annotation processing tool (apt). Now perhaps the idea of source code annotations is not a

Re: Source code annotations alla Java

2014-01-29 Thread Jay Norwood
On Friday, 21 January 2011 at 20:50:39 UTC, Jonathan M Davis wrote: On Friday, January 21, 2011 12:36:23 Ary Manzana wrote: On 1/20/11 5:48 PM, Jacob Carlborg wrote: > On 2011-01-20 21:34, Steven Schveighoffer wrote: >> On Thu, 20 Jan 2011 15:03:55 -0500, Jacob Carlborg >> wrote: >>> On 2011-

Re: Source code annotations alla Java

2011-01-21 Thread Jonathan M Davis
On Friday, January 21, 2011 12:36:23 Ary Manzana wrote: > On 1/20/11 5:48 PM, Jacob Carlborg wrote: > > On 2011-01-20 21:34, Steven Schveighoffer wrote: > >> On Thu, 20 Jan 2011 15:03:55 -0500, Jacob Carlborg wrote: > >>> On 2011-01-20 19:18, Steven Schveighoffer wrote: > On Thu, 20 Jan 2011

Re: Source code annotations alla Java

2011-01-21 Thread Ary Manzana
On 1/20/11 5:48 PM, Jacob Carlborg wrote: On 2011-01-20 21:34, Steven Schveighoffer wrote: On Thu, 20 Jan 2011 15:03:55 -0500, Jacob Carlborg wrote: On 2011-01-20 19:18, Steven Schveighoffer wrote: On Thu, 20 Jan 2011 13:07:58 -0500, Jacob Carlborg wrote: On 2011-01-20 15:02, Steven Schve

Re: Source code annotations alla Java

2011-01-20 Thread Trass3r
template foo (args...) {} Does that work with aliases? Well at least the following compiles: template Foo(T...,) { int i; } int a,b; alias Foo!(a,b) f;

Re: Source code annotations alla Java

2011-01-20 Thread Jacob Carlborg
On 2011-01-20 21:34, Steven Schveighoffer wrote: On Thu, 20 Jan 2011 15:03:55 -0500, Jacob Carlborg wrote: On 2011-01-20 19:18, Steven Schveighoffer wrote: On Thu, 20 Jan 2011 13:07:58 -0500, Jacob Carlborg wrote: On 2011-01-20 15:02, Steven Schveighoffer wrote: On Thu, 20 Jan 2011 08:47:

Re: Source code annotations alla Java

2011-01-20 Thread Jacob Carlborg
On 2011-01-20 20:10, Trass3r wrote: class Foo { int x; int y; int z; mixin NonSerialized!(z); } Had a quick look at http://dsource.org/projects/orange/browser/orange/serialization/Serializable.d 1. How come it works without 'mixin' in the template declaration (mixin template NonSerialized)?

Re: Source code annotations alla Java

2011-01-20 Thread Steven Schveighoffer
On Thu, 20 Jan 2011 15:03:55 -0500, Jacob Carlborg wrote: On 2011-01-20 19:18, Steven Schveighoffer wrote: On Thu, 20 Jan 2011 13:07:58 -0500, Jacob Carlborg wrote: On 2011-01-20 15:02, Steven Schveighoffer wrote: On Thu, 20 Jan 2011 08:47:28 -0500, Justin Johansson wrote: Not long ago

Re: Source code annotations alla Java

2011-01-20 Thread Jacob Carlborg
On 2011-01-20 19:18, Steven Schveighoffer wrote: On Thu, 20 Jan 2011 13:07:58 -0500, Jacob Carlborg wrote: On 2011-01-20 15:02, Steven Schveighoffer wrote: On Thu, 20 Jan 2011 08:47:28 -0500, Justin Johansson wrote: Not long ago the Java Language people introduced the idea of annotations t

Re: Source code annotations alla Java

2011-01-20 Thread Simen kjaeraas
Trass3r wrote: class Foo { int x; int y; int z; mixin NonSerialized!(z); } Had a quick look at http://dsource.org/projects/orange/browser/orange/serialization/Serializable.d 1. How come it works without 'mixin' in the template declaration (mixin template NonSerialized

Re: Source code annotations alla Java

2011-01-20 Thread Trass3r
class Foo { int x; int y; int z; mixin NonSerialized!(z); } Had a quick look at http://dsource.org/projects/orange/browser/orange/serialization/Serializable.d 1. How come it works without 'mixin' in the template declaration (mixin template NonSerialized)? 2. What if sev

Re: Source code annotations alla Java

2011-01-20 Thread Jacob Carlborg
On 2011-01-20 14:47, Justin Johansson wrote: Not long ago the Java Language people introduced the idea of annotations together with an annotation processing tool (apt). Now perhaps the idea of source code annotations is not actually a Java invention per se, however for someone learning D is ther

Re: Source code annotations alla Java

2011-01-20 Thread Steven Schveighoffer
On Thu, 20 Jan 2011 13:07:58 -0500, Jacob Carlborg wrote: On 2011-01-20 15:02, Steven Schveighoffer wrote: On Thu, 20 Jan 2011 08:47:28 -0500, Justin Johansson wrote: Not long ago the Java Language people introduced the idea of annotations together with an annotation processing tool (apt)

Re: Source code annotations alla Java

2011-01-20 Thread Andrew Wiley
On Thu, Jan 20, 2011 at 8:02 AM, Steven Schveighoffer wrote: > On Thu, 20 Jan 2011 08:47:28 -0500, Justin Johansson > wrote: > > Not long ago the Java Language people introduced the idea of annotations >> together with an annotation processing tool (apt). >> >> Now perhaps the idea of source cod

Re: Source code annotations alla Java

2011-01-20 Thread Jacob Carlborg
On 2011-01-20 15:02, Steven Schveighoffer wrote: On Thu, 20 Jan 2011 08:47:28 -0500, Justin Johansson wrote: Not long ago the Java Language people introduced the idea of annotations together with an annotation processing tool (apt). Now perhaps the idea of source code annotations is not actua

Re: Source code annotations alla Java

2011-01-20 Thread Jesse Phillips
Justin Johansson Wrote: > Thanks for answer. I wasn't expecting many enlightening responses. > Yours was a pleasant reply, albeit a reflection of the current state of D. > > - Justin I think it is worth mentioning that the current syntax comes from DIP 6 http://www.prowiki.org/wiki4d/wiki.cgi

Re: Source code annotations alla Java

2011-01-20 Thread Justin Johansson
On 21/01/11 01:02, Steven Schveighoffer wrote: On Thu, 20 Jan 2011 08:47:28 -0500, Justin Johansson wrote: Not long ago the Java Language people introduced the idea of annotations together with an annotation processing tool (apt). Now perhaps the idea of source code annotations is not actuall

Re: Source code annotations alla Java

2011-01-20 Thread Steven Schveighoffer
On Thu, 20 Jan 2011 08:47:28 -0500, Justin Johansson wrote: Not long ago the Java Language people introduced the idea of annotations together with an annotation processing tool (apt). Now perhaps the idea of source code annotations is not actually a Java invention per se, however for someo

Re: Source code annotations alla Java

2011-01-20 Thread Justin Johansson
On 21/01/11 00:47, Justin Johansson wrote: Not long ago the Java Language people introduced the idea of annotations together with an annotation processing tool (apt). Now perhaps the idea of source code annotations is not actually a Java invention per se, however for someone learning D is there