News for hackers. Stuff that matters.
Re:PHP functions originally bucketed by strlen, were renamed... by Yver on Monday December 16, 2013 @10:00PM (#6919323)
You'd have to qualify what "poorly designed" means or even what language you're talking about. In that mail, Lerdorf recounts his time writing PHP/FI nearly twenty years ago. It's like judging the current Linux kernel based on the early version Linus Torvalds was using in his lab around the same time.
Re:PHP functions originally bucketed by strlen, were renamed... by tptacek on Monday December 16, 2013 @10:11PM (#6919363)
The filesystem layout on Linux was never pessimized in order to work around using string length (STRING LENGTH) as a hash function.
Re:PHP functions originally bucketed by strlen, were renamed... by shoyer on Monday December 16, 2013 @10:11PM (#6919364)
...except PHP still has htmlspecialchars as a core library function. If Linux ever had these some of warts, they were resolved long ago.
Re:PHP functions originally bucketed by strlen, were renamed... by ars on Tuesday December 17, 2013 @01:08AM (#6919817)
No they weren't. Go look at the TTY driver if you need an example. Any place you interface with user code you are stuck.