Re:PHP functions originally bucketed by strlen, were renamed...
by MichaelGG on Tuesday December 17, 2013 @02:50AM
(#6920037)
Can you explain how, in any possible universe, using strlen as a hash function and choosing function named to bin on length in any way helps PHP, at all?
Re:PHP functions originally bucketed by strlen, were renamed...
by GhotiFish on Tuesday December 17, 2013 @05:20PM
(#6924401)
well I can think of a reason you might do that. It's dead simple, and you can easily predict the distribution, so you can choose names that have a relatively good distribution. Sure your first few buckets go empty, but at that point, you're overthinking it, NEXT SECTION!
Re:PHP functions originally bucketed by strlen, were renamed...
by GhotiFish on Tuesday December 17, 2013 @01:11AM
(#6919825)
I would be very interested to hear those reasons.
Re:PHP functions originally bucketed by strlen, were renamed...
by pessimizer on Thursday December 19, 2013 @11:29AM
(#6935620)
1. mod_php
2. ...
Re:PHP functions originally bucketed by strlen, were renamed...
by GhotiFish on Thursday December 19, 2013 @12:07PM
(#6935945)
php prevents you from having a good page structure?
I'm no fan, but that's going a bit far, don't you think? What's a rickety syntax and inconsistent naming have to do with page design?
Never belittle other's work, especially when striving to discover that magic formula to success. All the posts on HN about "How we made X successful" and we brush off the obvious ones in front of our eyes? Ever stopped to think why a crappy X is popular? Maybe there is something to it.
Also not to mount on irony but keep in mind, you are commenting on a site that has the HTML syntax from the Geocities era (it has its reasons though).