being the kind of hypersystematizing nerd who feels that OOP classes that exist only to contain static utility methods are somehow offensive is relatable, if ridiculous, but once you're doing something = (new someClass())->someUtilityMethod(whatever); you need to be put down
-
Show this thread
-
Replying to @chaosprime
nah leave it for now. it's most efficient for one call, since it doesn't create a reference to the object. if you need more utility method calls later, you can factor this to save a reference. :-)
1 reply 0 retweets 2 likes
Replying to @MarkHedgesUSA
yeah you better put a smiley
8:19 PM - 2 Dec 2019
0 replies
0 retweets
5 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.