Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



> python and correctness

I thought it was Python and readability and "one way of doing things".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: