You are viewing a single comment's thread from:

RE: Hello World! - Writing your first Go program

in #golang8 years ago

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

Sort:  

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 ;)