On Fri, Sep 21, 2018 at 11:07 AM Louki Sumirniy <
louki.sumirniy.stal...@gmail.com> wrote:
> in programming languages putting the type first basically only appears in
> C and its (ill-born) children.
>
Like that's literally wrong. I prefer Go's order, which borrows from Pascal.
But C's order is
in programming languages putting the type first basically only appears in C
and its (ill-born) children. But the reversal of word order like this is
also present in norse and slavic languages with the definite article. It's
actually the counter-intuitive pattern, and having learned to speak seve
PL/I is unmatched.
-rob
On Fri, Sep 21, 2018 at 10:13 AM Drew Derbyshire wrote:
> On Wednesday, September 19, 2018 at 10:30:11 PM UTC-7, Sathish VJ wrote:
>>
>> I've been asked this question a few times and I haven't been able to find
>> an answer. Why does go reverse the order of variable de
On Wednesday, September 19, 2018 at 10:30:11 PM UTC-7, Sathish VJ wrote:
>
> I've been asked this question a few times and I haven't been able to find
> an answer. Why does go reverse the order of variable declaration: "i int"
> vs "int i"
>
To match PL/I, of course. :-)
-ahd-
--
You rece
On Thursday, 20 September 2018 07:30:11 UTC+2, Sathish VJ wrote:
>
> [...] Why does go reverse the order of variable declaration
>
It doesn't. C and C++, Java, C#, etc are reversed.
V.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubsc
Here is your answer - https://tip.golang.org/doc/faq#declarations_backwards
On Thursday, 20 September 2018 11:00:11 UTC+5:30, Sathish VJ wrote:
>
> I've been asked this question a few times and I haven't been able to find
> an answer. Why does go reverse the order of variable declaration: "i in