When should you use final classes or private properties?
The discussion of final classes was a hot topic recently. We had planned on discussing this even before it came up on Twitter, but here is our unsolicited opinion.
Is there some use case we missed? Aaron wants to hear about it.
Show notes
Want to hire us and argue about it? Book a call
Is there some use case we missed? Aaron wants to hear about it.
Show notes
- (00:00) - Final classes, the hot topic on Twitter
- (01:00) - Aaron's opinion has evolved over the years
- (03:15) - Packages vs applications
- (04:00) - What about making PHPStan happy?
- (06:45) - What about reducing support burden on package maintainers?
- (10:05) - What about private properties?
- (11:15) - Aaron wants to be wrong
- (11:45) - Silly bit
Want to hire us and argue about it? Book a call