4 ms·
I think its ugly?
by niteshade 13y ago
I think its ugly?
- rorrr2 13y agoI think converting numbers to objects and back is ugly. And insanely inefficient. For this particular example it must be orders of magnitude slower.
- niteshade 13y agoWell yeah, efficiency wasn't the aim.
- rorrr2 13y agoOK, if I never need to write insanely slow object oriented code for no good reason, I will download your "library".
- matthewmacleod 13y agoDon't be a dick, dude.
- deleted 13y ago[deleted]
- xd 13y agoIt's as efficient as you can possibly get with PHP .. how is that ugly? Ugly because it doesn't remind you of Python, Ruby or whichever language you prefer?
- niteshade 13y agoYeah, mostly. Also because its how it should have been done. PHP Internals should strive to clean up PHP to conform to my work ;)
- xd 13y agoNothing wrong with that attitude at all! Especially when backed up with code. Keep up the good fight .. but I would suggest you implement this as an extension.
- niteshade 13y agoYeah, I think that'll be the way to go. There's apparently a new way of writing extensions, might've gotten slightly more bearable since you last looked at it :)