News for hackers. Stuff that matters.
Re:Einstein Summation in Numpy by SketchySeaBeast on Wednesday January 23, 2019 @10:06AM (#18978702)
I feel like that's the point of Python - only provide the barebones of what you might need initially, and then make importing the rest fast and easy. For most use cases Pythons default collections work just fine (what does an array have that a list doesn't for everyday use?), but if you need more power, just import and go.
Re:Einstein Summation in Numpy by enriquto on Wednesday January 23, 2019 @03:09PM (#18982270)
From my point of view, numeric arrays are barebones, and strings and dictionaries are fancy data structures that I never need, but they are nevertheless elevated as features of the language itself. It would seem much more natural if it was the other way round. In my everyday life I solve linear systems in octave by doing "x=A\b", but in python it becomes very cumbersome.