Thanks Brian, Axel & Ian for your very thorough treatment of my post.

When I first read about golang interfaces, I was impressed with how elegant
and powerful they are, so it's very disappointing that my first opportunity
at leveraging them was such a fail! Your explanations did a remarkable job
of making proper usage obvious. I appreciate you taking the time.

On Sun, Feb 28, 2021 at 2:38 AM Brian Candler <b.cand...@pobox.com> wrote:

> On Sunday, 28 February 2021 at 10:36:55 UTC Brian Candler wrote:
>
>> On Sunday, 28 February 2021 at 03:03:17 UTC Deiter wrote:
>>
>>> The example uses a “short assignment” statement, so it’s not obvious
>>> what “concrete” type c.StdoutPipe() returns
>>>
>>
>> You can't tell
>>
>
> By which I meant "you can't tell by inspection at compile time; you can
> only tell the concrete type when you look at the value returned by the
> function at runtime"
>
> --
> 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/b003d635-0069-4a22-9367-db9db907a672n%40googlegroups.com
> <https://groups.google.com/d/msgid/golang-nuts/b003d635-0069-4a22-9367-db9db907a672n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAP6bC06TKP%3DhYSOcYJ%2BfyBwLiia5e%2BfGhjPp7vqKJWUfpen%3DoQ%40mail.gmail.com.

Reply via email to