flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Mclean <jus...@classsoftware.com>
Subject [FlexJS] hard coded event names
Date Tue, 23 May 2017 09:21:09 GMT

In the Flex SDK we have a large number of event names hard coded. Is there any reason (performance
or otherwise) for coding in this style?

Usually I would define them as consts in a single place and refer to that. Are we assuming
the compiler will optimise this and that no one will miss type event names?

View raw message