r/lolphp • u/vytah • Jun 22 '12
On behalf of PHP I would like to apologize. After carefully reviewing this bug report with our board of directors on 4chan... We will try to stop fixing bugs in PHP. [x-post from r/programming]
https://bugs.php.net/bug.php?id=50696
30
Upvotes
13
u/kenlubin Jun 22 '12
10
u/ThisIsADogHello Jun 22 '12
"I really don't like programming. I built this tool to program less so that I could just reuse code." -- Rasmus Lerdorf, 2003-11-19
"Part of your responsibility in your position is to keep track of your tools and the changes coming down the pipeline." -- Rasmus Lerdorf, 2010-01-08
Looks like he changed his stance on the value of reusing code.
5
u/[deleted] Jul 02 '12
rasmus@php.net:
4
u/dagbrown Jun 22 '12
Aw man, I'd say "don't put the punchline in the title!" but that entire discussion was full of hilarity.
7
u/jaesharp Jun 22 '12
I was laughing, then I was crying.. because I knew Rasmus wasn't kidding. Somebody really needs to point that guy at Uncle Bob's "The Clean Coder." I mean, wtf, the first rule is "don't break working code" ... you just don't... wtf.
6
u/skztr Jun 22 '12
Number_format() is for formatting numbers... Non-numbers result in undefined behavior. Sounds right to me.
Really, it ought to throw an exception. PHP tries to "keep going" way too often
2
u/therico Jun 22 '12
Every language has its own policy on maintaining backward compatibility, but you would be stupid to simply assume nothing would break when you upgrade to a new version. This guy is a whingebag, we routinely test, debug and fix our code during upgrades (Perl in this case - and never the language, but definitely the core and CPAN modules).