Re: [go-nuts] Proposal to add Index operator methods

2020-10-21 Thread Raanan Hadar
Hi everyone, The proposal was closed about a week ago with the conclusion that: "There was further discussion, but no change in consensus on this particular proposal." First of all, let me begin that I am always humbled by the wisdom and passion of the Go community and that this whole process

Re: [go-nuts] Proposal to add Index operator methods

2020-10-10 Thread Raanan Hadar
Thank you for your supportive words. I do hope that this will get the ball rolling. On Sunday, October 11, 2020 at 12:11:23 AM UTC+3 rcore...@gmail.com wrote: > Those are good points and FWIW I would be excited to use the proposed > indexing functions and agree that they are a big part of the i

Re: [go-nuts] Proposal to add Index operator methods

2020-10-10 Thread Randall O'Reilly
Those are good points and FWIW I would be excited to use the proposed indexing functions and agree that they are a big part of the issue, independent of the operator overloading. There has been a lot of discussion about supporting multidimensional indexing etc so this has been a major issue ove

Re: [go-nuts] Proposal to add Index operator methods

2020-10-08 Thread Raanan Hadar
So the first paragraph in my answer to Jon addresses this. But I think I could have been clearer: I think 80% of the readability problem is addressed by index operator methods, which is the critical part. Full operator overloading is nice to have in my opinion and I argue people will gladly liv

Re: [go-nuts] Proposal to add Index operator methods

2020-10-07 Thread Randall O'Reilly
I think we all agree that Python has some major issues.. :) But the point of Jon's argument which struck me as very compelling is that Go would really need full operator overloading to serve as a serious competitor given the standards to which people have become accustomed. I didn't see in yo

Re: [go-nuts] Proposal to add Index operator methods

2020-10-07 Thread Raanan Hadar
So we respectfully disagree here, so the best thing I can do is add some quality arguments. I think this is an important discussion that might cement Go as a broad DSL in the sense that it does a lot of things exceptionally well, but this issue will remain a blind spot. I fully understand the n

Re: [go-nuts] Proposal to add Index operator methods

2020-10-07 Thread Randall O'Reilly
Jon's points probably sink this proposal. Go is a very different language, and making it less self-consistent to solve some fraction of syntactic readability is almost certainly not going to get over the very high threshold for changing the language. If you're going to switch over to Go, you'l

[go-nuts] Proposal to add Index operator methods

2020-10-03 Thread Raanan Hadar
I have written a proposal to add index operator methods to Go2 here [1]. I would love to hear your commends, thank you. [1] https://medium.com/@rhadar/go2-proposal-index-operator-methods-edc621cfefca -- You received this message because you are subscribed to the Google Groups "golang-nuts" g