PHP Sort Function Backward Compatibility
What about don't passing by reference the array in the internal `\sort()` functions, @official_php? What about all the code written over the past 20 years which requires that behavior?
A Twitter exchange jokes about changing PHP’s internal sort functions after decades of code have come to depend on their existing pass-by-reference behavior. The punchline is that backward compatibility makes even an arguably awkward design impossible to change. EN: A Twitter exchange jokes about changing PHP’s internal sort functions after decades of code have come to depend on their existing pass-by-reference behavior. The punchline is that backward compatibility makes even an arguably awkward design impossible to change.
- @profunctor_io / 2808 2019-08-10
- Type
- image
- Size
- 596×415 · 38.9 KiB
- Mood
- sarcastic, technical
- Language
- en
- Added