Hello World! - Writing your first Go program

in golang •  7 years ago  (edited)
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

So go is another C style syntax?

Might be worth tweaking the new lines in you code block. I find I have to make compromises and wrap code to stop the horizontal scroll bars. Reads better when you do not need to scroll

Yes, Go has C-like syntax, just because people are most accustomed to it. Technically it also has semicolons, but the compiler puts them in. Don't worry about the formatting, the gofmt tool takes care of that.

Go it's an interesting Language as Rust, D, etc.

If you don't like C style syntax, I've created a post getting started with Eiffel ;)