[EMAIL PROTECTED] said:
> Sajaniemi reported on something a bit similar in a PPIG workshop a
> couple of years ago, didn't he? What was that? is it relevant? 

You're thinking of variable roles. I think this is an excellent 
candidate. Hungarian naming tried to name variables in a way 
that indicated role, but unfortunately to the detriment of 
readibility. If we encoded role using colour, then the text of 
the name can be dedicated to secondary notation.

The number of different roles that Saja identified is about 
right for the number of colours we like to use. Furthermore, it 
seems plausible that roles can be inferred from automated code 
analysis (are you lurking, Saja?), in which case an editor like 
Emacs could easily add the colours for you.

Saja's PPIG paper on variable roles is online at:
http://www.ppig.org/papers/14th-sajaniemi.pdf

Alan
-- 
Alan Blackwell           Computer Laboratory, University of Cambridge
http://www.cl.cam.ac.uk/users/afb21/       Phone: +44 (0) 1223 334418        


 
----------------------------------------------------------------------
PPIG Discuss List ([EMAIL PROTECTED])
Discuss admin: http://limitlessmail.net/mailman/listinfo/discuss
Announce admin: http://limitlessmail.net/mailman/listinfo/announce
PPIG Discuss archive: http://www.mail-archive.com/discuss%40ppig.org/

Reply via email to