Junilu Lacar wrote:Thanks Igor,
Very interesting to learn about the automatic insertion of semicolons. I may like this "feature" after all when you think about not having to worry about the trailing commas when you move lines around.
Junilu Lacar wrote:A couple of other things:
Just went out to http://tour.golang.org and the example above now seems to be #22 instead of #21 -- [EDIT: I see what it is now. I downloaded the tour for offline viewing. The difference is that the offline version doesn't have the #2 page that the online version does, so offline version has all the pages shifted down by one]
Something strange about the fmt.Println() in main(). If you keep the original formatting given in the example, the comma after the second parameter is required; deleting it will give you a compilation error. However, if I reformat the code and put everything in one line, removing that last comma is fine. That's a bit surprising. What gives here?
Mark Summerfield wrote:Hi Igor,
I think it depends on how much experience you have in general, and with the language your using and the problem domain in particular. If you're new to the language or problem domain I suspect that you'll find it hard to maintain a mental image of the program no matter what language its in; and easy if you are very familiar with the language and the domain.
Mark Summerfield wrote:
If you want more specific ideas then I think a good starting point are the Unix classics: grep, find, ls, and so on---the first two could be made concurrent.
Mark Summerfield wrote:
I don't use an IDE at all for anything: instead I use gvim (with all the menus and toolbars hidden:-)
Mark Summerfield wrote:
You can do functional style programming in Go, but it certainly isn't a functional language. In fact, no functional language has proven to be successful outside academia.
Mark Summerfield I know that some very high traffic sites are using Go.[/quote wrote:
Could you be a little more specific about successful use of Go at these sites?
Mark Summerfield wrote:
I would advocate learning Go by getting a good book and writing some Go programs. By the end of that process you'll have much more of an idea of Go's strengths and weaknesses in relation to the kind of programs you are interested in.
John Todd wrote:
That's why I think there has to be some sort of killer app/demo if Clojure indeed wants to be more of a general language.
So Java, Ruby and Python aren't general programming languages?
Killer demo isn't a requirement to success, what was the killer demo of Python when it was released?
Sean Corfield wrote: I will encourage folks to watch this wonderful talk by Temple Grandin at TED: http://www.ted.com/talks/temple_grandin_the_world_needs_all_kinds_of_minds.html
Dan King wrote:does it make to start my learning with Clojure or some other 'functional' language?