User talk:PureFox: Difference between revisions
Content added Content deleted
(→Go solutions: panic, gofmt: new section) |
(Reply to comments from 'dchapes'.) |
||
Line 81: | Line 81: | ||
Just a little nitpicking :) —[[User:dchapes|dchapes]] ([[User talk:dchapes|talk]] | [[Special:Contributions/dchapes|contribs]]) 18:57, 20 June 2018 (UTC) |
Just a little nitpicking :) —[[User:dchapes|dchapes]] ([[User talk:dchapes|talk]] | [[Special:Contributions/dchapes|contribs]]) 18:57, 20 June 2018 (UTC) |
||
:Yes, you're right that I've been over-using 'panic' in my solutions and I'll try to avoid that in future. |
|||
:Even though I have a number of issues with 'go fmt' (including the use of tabs rather than spaces), I have in fact been running it on my more recent solutions for the sake of uniformity. However, the one thing I cannot stomach is the use of 8 space tabs for indenting and, since there doesn't appear to be a way to change the tab length in the WikiMedia software, I've had to replace tab characters with (my preferred) 4 spaces before posting. |
|||
:Although 'go fmt' uses tabs, I don't actually think there is any requirement that these be fixed at 8 spaces because Rob Pike himself stated about a year ago: |
|||
:"The indent character is tab, whose width is your decision. That's in large part why the indent character is tab: to let you choose how much to indent." |
|||
:So, if you don't mind, I'll be sticking to my 4 spaces when posting on this site whilst accepting the other strictures of 'get fmt'. |
|||
:Incidentally, it's good to see that Go has at least 3 active contributors, which is two more than most other languages can boast. As a relative newcomer to the language, it helps me a lot to study other people's solutions.--[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 23:20, 20 June 2018 (UTC) |