4 ms·
Every language prioritizes something (or somethings) because every language was made by a person (or people) with a reason; python and correctness; Java and spl
by RangerScience 2y ago
Every language prioritizes something (or somethings) because every language was made by a person (or people) with a reason; python and correctness; Java and splitting up work; Go and something like "simplicity" (not that these are the only priorities for each language). As another comment points out, Matz prioritized developer happiness.
My favorite example of this is the amazing useful and amazing whack Ruby array arithmetic; subtraction (`arr1 - arr2`) is element-wise removal, but addition (`arr1 + arr2`) is a simple append. These are almost always exactly what you want to do when you reach for them, but they're completely "incorrect" mathematically.
- okeuro49 2y ago> python and correctness I thought it was Python and readability and "one way of doing things".