On 02 Oct 2007, at 20:00, Tim Eck wrote:

> Couldn't agree more with regards to meaningful label names. Another
> pointer is to leave commented psudeo-code for anything more  
> complicated
> than simple getter/setter.

Yup, either that, or split the bytecode up in blocks that do specific  
actions and comment those. Just leaving whole pages of pasted  
bytecode instructions, without any blank lines or comments is ...  
horrible. The code takes way too long to read during maintenance  
(going through that with the CHM stuff atm :-/).

Actually, I'm gonna create an internal wiki page with ASM do's and  
don'ts ... I think that could be useful ... or should that be  
public ... with a blog post. Hmmm that's maybe better.

--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com

_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to