Shortes code for GO (codingame shortest mode challenge)

Hi all,

Codingame is organizing thee 15 minutes contests where you need to solve a simple coding problem by writing the least amount of code.

I feel that GO is a bit disadvantaged here compared to python of javascript.

Can you give me any tips on how I can write smaller GO code ?

Go is indeed a no go for code golf !
Only a few tips could be used like letter aliases for imported packaged, short declaration of struct instance, etc.
Maybe you can refer to : https://codegolf.stackexchange.com/questions/41862/tips-for-golfing-in-go

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.