On Wed, Sep 22, 2010 at 12:43 PM, Cédric Beust ♔ <[email protected]> wrote:
> > > On Wed, Sep 22, 2010 at 9:39 AM, Casper Bang <[email protected]>wrote: > >> > Introducing a new keyword is always very, very dangerous and has the >> > potential to break a lot of code (witness what happened with assert), so >> any >> > language designer worth their salt will always avoid doing so unless >> there >> > is really no other way. >> >> Of course, other languages worth their salt actually solves the >> problem and moves the art forward with techniques such as context- >> sensitive keywords and deferred tiered resolving. >> > > Such languages haven't had a lot of penetration in the industrial world, I > wonder why :-) > > Really now? Hmmm, Microsoft has a bunch in Visual C++ ( http://msdn.microsoft.com/en-us/library/8d7y7wz6.aspx) Context-sensitive grammars seem to make more natural sense to me, considering my own spoken language is context sensitive. Context-free grammars are by far easier to parse and manipulate in that sense, so perhaps they haven't penetrated industry because, by nature, software engineers are lazy. -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
