4 ms·
Even worse, some of the Internals teams argue in favor of silently trucking along instead of, e.g. throwing an exception: http://www.serverphorums.com/read.php?
by sarciszewski 11y ago
Even worse, some of the Internals teams argue in favor of silently trucking along instead of, e.g. throwing an exception: http://www.serverphorums.com/read.php?7,1250372 http://www.serverphorums.com/read.php?7,1250372
EDIT: because of HN's annoying "you are posting too fast" limit I cannot reply to the comment below.
The arguments against Exceptions began in the comments on the relevant pull request: https://github.com/php/php-src/pull/1397 https://github.com/php/php-src/pull/1397
- juliangregorian 11y agoWow, that thread is current! This mentality really is systemic to PHP. It's like the exact opposite of "let it crash".
- claar 11y agoActually that thread seems to strongly argue that either an Exception or fatal error should be thrown. I'm not seeing anyone in that thread wanting to silently truck along -- am I missing it?
- _lce0 11y agofrom that thread.. At what point do we stop blaming the developers for not knowing how to use our badly designed features, and accept responsibility for exposing an API that is hostile towards simple, efficient, and correct implementations?
- paragon_init 11y agoIt might be worth noting that 'sarciszewski was the author of that remark.