in fact... array indices and fortran's call by address rules make it a
pointer language in the sense you mean.

when i was a mere boy i had to decode brian kernighan's magical packing of
triangular arrays using such a scheme. ;-)

On Tue, Jan 1, 2019 at 5:23 PM Drew Derbyshire <a...@kew.com> wrote:

>
>
> On Tuesday, January 1, 2019 at 9:13:44 AM UTC-8, Jan Mercl wrote:
>>
>>
>> On Tue, Jan 1, 2019 at 12:34 PM 伊藤和也 <kazya.i...@gmail.com> wrote:
>>
>> > What are the reasonable reasons to use pointers? Are pointers necessary?
>>
>> Yes, they're necessary in non-trivial programs. Without pointers any
>> program can use only (named) variables declared in the program. Pointers
>> allow creating (anonymous) variables at run time accessed via the pointer.
>> Many useful data structures rely on variables dynamically allocated at run
>> time.
>>
>
> You've never met a FORTRAN 66 programmer.   :-)
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>


-- 

*Michael T. jonesmichael.jo...@gmail.com <michael.jo...@gmail.com>*

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to