News for hackers. Stuff that matters.
Re:Go+: Go designed for data science by yiyus on Saturday March 27, 2021 @01:59PM (#26604067)
> how is "X[y==1,0]" more readable in this case than something like "filterElements(arrayToFilter, arrayOfBools)"?

Just the same way that a[i] *= b[j] is more readable than a.IndexElement(firstIndex).MultiplyByFloat(b.IndexElement(secondIndex))

Re:Go+: Go designed for data science by marcus_holmes on Saturday March 27, 2021 @04:05PM (#26605158)
yeah, sorry, but I didn't understand the first one at all, and totally understood the second one. Your definition of "readable" and mine differ ;)
Re:Go+: Go designed for data science by yiyus on Saturday March 27, 2021 @08:30PM (#26606969)
I don't follow. You have been coding for 40 years and you do not understand a[i] *= b[j] at all but you understood the expression I made up?
Re:Go+: Go designed for data science by renox on Saturday March 27, 2021 @05:05PM (#26605622)
Bah, it's the same as Maths: notations 'compress' the formulas but at the cost of having to learn these notations..
Re:Go+: Go designed for data science by marcus_holmes on Saturday March 27, 2021 @05:59PM (#26606003)
yes, this. Completely.

Is that more readable or less?

Re:Go+: Go designed for data science by renox on Saturday March 27, 2021 @06:40PM (#26606256)
For who? Beginners or experts?
Re:Go+: Go designed for data science by FridgeSeal on Saturday March 27, 2021 @08:26PM (#26606950)
Experts. Optimising your whole notation for beginners is pre-emptively putting up a skill ceiling. Beginners stop being beginners (at which point they’ll outgrow the beginner oriented syntax) but experts will remain experts.

Instead, optimise for teaching/learning the skills better rather than capping everyone’s skills. The presence of a learning curve is not an inherently bad thing.

Edit: re-reading your previous comments, I think you and I are in furious agreement haha