A transpiler that will implement index operator methods will be very 
appealing at first. But it won't be long before general operator 
overloading will be added to its feature set and the result is splitting Go 
to a different language...

The question is, what is best to the go community in the long run? To add 
the minimal viable set of features that solves the crux of the problem (I 
don't think this proposal degrades the experience for the "general Go 
audience"), or to throw in the towel and spin this off to a different 
language? Personally, I would rather have index operator methods and forego 
full operator overloading because of the huge long term engineering costs 
that a transpiled language introduces.


On Tuesday, October 6, 2020 at 5:13:42 PM UTC+3 ohir wrote:

> Dnia 2020-10-06, o godz. 00:56:38
> Raanan Hadar <rha...@gmail.com> napisaƂ(a):
>
> > To a gonum user, this proposal is about a 20% improvement and nothing to 
> run home about.
> > To a matlab/python programmer, this solves about 80% of their problems 
> and combining this
> > with the other benefits of Go is enough to strongly consider switching 
> to Go.
>
> > if you have another way to achieve this, I am open In the end of the day,
> > the question to ask is whether or not we are better off in implementing 
> this.
>
> A "better notation" for the minority of language users can be achieved 
> using go generate.
>
> Your OP problem* calls for a transpiling tool - one that from the 
> python/matlab input produces boring Go readable also by general Go audience.
>
> *[that matlab/numpy accustomed programmers would be more productive using 
> known or similar to known to them syntax]
>
> Hope this helps,
>
> -- 
> Wojciech S. Czarnecki
> << ^oo^ >> OHIR-RIPE
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/e5a653f3-faf3-4492-8f50-d3ca87177743n%40googlegroups.com.

Reply via email to