I've published a little tip about preventing duplicate values in string constants

Read about it here: http://blog.enedahl.com/?p=18

Excerpt: PureMVC uses strings to map notifications. This could lead to a number of string constants in a class. When creating new notifications I usually duplicate an old existing string constant. This is a problem, if I forget to change the value of the duplicated constant, there will be two constants with the same value, leading to unexpected behaviors that are hard to debug.

/Christoffer Enedahl


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to