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 ;)
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?
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?
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
Just the same way that a[i] *= b[j] is more readable than a.IndexElement(firstIndex).MultiplyByFloat(b.IndexElement(secondIndex))