Is this a bug or a feature?

Bane branimir.milosavljevic at gmail.com
Thu Jan 7 06:09:12 PST 2010


Pelle MÃ¥nsson Wrote:

> On 01/07/2010 02:04 PM, Daniel Murphy wrote:
> > The following code compiles under dmd v2.037, no closing brace required.
> >
> > ---------------
> > import std.stdio;
> >
> > void main()
> > {
> > 	while(true)
> > 		writeln("Bug!");
> > ---------------
> >
> > Bug, or feature for the extremely lazy?
> I bumped into this myself the other day, I find it being quite a 
> feature. If nothing else, it's kinda cool!

It is new neural reader algorithm. It completes source code in the moment of compilation by analyzing coder's brain waves. It is not documented yet, so many people assume it is bug.



More information about the Digitalmars-d mailing list