3 ms·
The thing with Java, and most other popular languages, is that packaging up a unit that small is painful enough that you don't want to do it. For instance, if
by thrower123 8y ago
The thing with Java, and most other popular languages, is that packaging up a unit that small is painful enough that you don't want to do it.
For instance, if I was going to do something similar to left-pad in a .NET way, I'd have to create a whole Visual Studio project and build a DLL for a single function, which would rightly be recognized as pants-on-head.