3 ms·
> Just call `new` yourself, instead of having the framework do it for you. But at that point, why would I want to? There are reasons I wouldn't want to, but t
by eximius 5y ago
> Just call `new` yourself, instead of having the framework do it for you.
But at that point, why would I want to?
There are reasons I wouldn't want to, but there is no inherent value, to me, in manually calling new.
- jeffffff 5y agoby calling new yourself you get a sane stack trace when something is misconfigured. that alone is worth the tiny additional amount of code in my book.
- kaba0 5y agoHow is that worthy? You pretty much only have to look at the topmost exception, or at worst the causing one. Whether it has 100 lines after or 3 doesn’t matter, not the slightest.