Re:Choose Boring Technology (2015)
by limomium on Sunday June 07, 2020 @08:46AM
(#23446951)
Choose PHP.
[ Parent
| on HN ]
PHP silently transforming all string keys of a map to integers when they are all integer strings ("123", "456" etc.) is exactly one of the reasons I'll never choose a language that pulls the rug from below my feet and replaces it with parquet.
If you bother to read the manual [1], it explicitly states that this happens. Almost at the top of the page. Hardly "silent".
It's not reasonable to expect such gotchas. It might have been a 20px red bold text on top of php.net and it would still be very not okay.
Re:Choose Boring Technology (2015)
by galoisgirl on Monday June 08, 2020 @07:43AM
(#23455688)
No.