Terence Parr wrote:

>> And the Java 1.5 foreach and generics would make the code cleaner.
> 
> I hate that syntax because it looks so nice, but crashes if you have a 
> null list. stupidest thing I've ever seen in my life. 


Hehe, yea, I guess I've finally just gotten used to allocating an empty
List at each declaration.

> plus, I can't rely 
> on 1.5 yet.

That's too bad. Are there really a fair number of people who aren't on
1.5 yet? 

> 
> I agree it would be nice if that syntax did something nice. :) don't get 
> me started on how bad the generic stuff works when you want List<AST> to 
> work with List<MyAST>. blech. renders it useless. sorry to be so 
> negative on a Tuesday morning. Just getting sick of all of these Java 
> "enhancements".

Yea, I was very skeptical about the 1.5 enhancements, but now I'm a convert.
Though of course I wretch when confronted with having to use generic wildcards,
like everyone else :)

Andy
> 
> Ter
> 


List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" 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/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to