flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christofer Dutz <christofer.d...@c-ware.de>
Subject Re: [FlexJS] empty constructors in SDK
Date Tue, 23 May 2017 10:50:18 GMT
I remember always having warnings reported by the old compiler, if there are no constructors,
so I started adding constructor blindly. Eventually that’s a pattern others have been following?


Am 23.05.17, 12:22 schrieb "Justin Mclean" <justin@classsoftware.com>:

    We seem to have a number of empty constructors in the SDK. Is there any reason for this
as? Performance wise there’s going to be a cost with this.
    On the other hand we also have a number of constructors that are not light weight. AS
doesn’t JIT code in constructors so best practice is to move the code to a another method
and call it from the constructor. Any reason this isn’t being done?

View raw message