How did you get into Go development professionally?
I've been in Java land for ~10 years doing mostly backend work, but I've been seeing increasingly more backend jobs using Go so I'm wondering if this is a direction I should start heading in.
I don't have enough experience but I think, apart from its concurrency primitives, some of the reasons to consider Go are: it is quite simple to grasp, fast, has a low memory footprint and any app can be deployed as a single file. Its standard library is quite extensive also.
I'm Bregy and love to create new tech, hardware, software and science, my big passion is the artificial intelligence and the data science. Stay open source.
Putting "go" word before any function and automatically create a new concurrent task, in my opinion, is awesome. If you want coordinate many tasks you only need think in the flow of your program and implement your own algorithms, but obviously exist a stack library for this work: the fantastic sync library (golang.org/pkg/sync), look at it!
To add something to my previous comment, I can point anyone that is interested in Go concurrency models and so goroutines to the best article I have read about it from Trevor Forrey on Medium. medium.com/@trevor4e/learning-gos-...
It is the perfect one if you are not very used to it and want to learn it the easy way.
And then have a look at his other article. They are absolutely great materials about Go.
Web developer crafting code from the tropics, based in Costa Rica. I work hard so my dog can have a better life. I also love traveling and eating delicious food!
Do you think Golang is a good first programming language? For people that have zero experience in development, but would like to understand core concepts of programming they can later apply to other similar languages.
I'm Bregy and love to create new tech, hardware, software and science, my big passion is the artificial intelligence and the data science. Stay open source.
Oh, wow, hard question, really I don't know I think any language is a good language for understanding core concepts of programming because all concepts are similar (like flow control or computer logic). But I accept exist better languages for the introduction to programming mind, (e.g. python) I suppose it is good because of its simplicity and versatility. Go have very intuitive reserved words and that makes simplicity to Go, but also it has deep concepts that you need to practice to master that. Finally, I'm not sure but I think that exist better languages for start to learn programming core concepts, for me that language is python.
I'm Bregy and love to create new tech, hardware, software and science, my big passion is the artificial intelligence and the data science. Stay open source.
Following godoc of this function, Math.Round rounded any float to the nearest integer, rounding half away from zero (golang.org/pkg/math/#Round) and this function only exist from Go 1.10. If you want another more complex unit to round you can implement it.
People say that the Erlang (and Elixir) ecosystems are much more suited (and battle-tested) for building large-scale, fault-tolerant systems.
I actually agree with this.
I feel that Go is more suited for things like Docker, where the main requirement is being extremely stable and fast at the same time. For large codebases, it also works really well due to its "stupid" coding style.
Its concurrency implementation makes it very easy to write softwares that are very efficient.
And it is a compiled language which means that it is faster than interpreted language.
So if you have to process a ton of data, Go is definitely interesting.
And it is very easy to learn. ;-)
I'm Bregy and love to create new tech, hardware, software and science, my big passion is the artificial intelligence and the data science. Stay open source.
Go seems applicable in many fields. Do you think it will become mainstream in areas where there is a de-facto leader today, any time soon? Eg banking and enterprise(Java), DevOps and Machine learning(python), system programming(C++ I believe) or game programming(C# maybe, due to unity)
I'm Bregy and love to create new tech, hardware, software and science, my big passion is the artificial intelligence and the data science. Stay open source.
I love python too, and I had experience with C and C++, I think Go is an awesome language but its program paradigm (without objects and using pointers) needs special attention and concentration.
I'm Bregy and love to create new tech, hardware, software and science, my big passion is the artificial intelligence and the data science. Stay open source.
Really I don't know, probably the experience and the practice is the best options. If you're creating your own standalone scripts I think you only need merge many of these for creating a big application, one pretty idea to make "complex programs" with Go is create a Backend using its "http" stack library.
i want to ask you the roadmap of the backend developer what should i do to get started with go lang. i know the basics of go and tour of go is also completed. so what do i read or do now ? what should be my next steps
Hello there. I’m thinking of going into backend development using Go. Could you recommend me materials or sites that’s gonna be of major help for me? Things that I need to know to be a backend developer in Go. Maybe stuffs on database, etc. Thanks
Why when I create an element http.template and assign it a * .html file and I launch it with Execute and go to the browser and load the page I get blank?
.I have tried the code with other files * .html with less content and it works for me.
Which orm framework no need to think into owner shoes?
(too many golang framework example is no sense and what you see what you get, can't apply to another case)
I'm Bregy and love to create new tech, hardware, software and science, my big passion is the artificial intelligence and the data science. Stay open source.
I don't understand your question, can you explain to me?. If you're taking about ORMs in Go, personally I use one called Storm, an ORM for BoltDB (BoltDB is an awesome no relational database written in go).
I'm Bregy and love to create new tech, hardware, software and science, my big passion is the artificial intelligence and the data science. Stay open source.
Generally I try to struct my project of different ways each time, below you can see two different projects and in the first I don't use folders, I only split my project in different files, in the second image I use folders for each part of the project (this project was really big), if you want see more, you can see in my github account, there I have different projects and you can see all the code.
I'm Bregy and love to create new tech, hardware, software and science, my big passion is the artificial intelligence and the data science. Stay open source.
I'm Bregy and love to create new tech, hardware, software and science, my big passion is the artificial intelligence and the data science. Stay open source.
It depends, for example, I can't use Go for machine learning or mathematical computing (not because this is impossible with Go, because exist more suited tools), I think Go is awesome because is simple and fast and have an ecosystem based on the web (a lot of frameworks like Gin Gonic, Iris go or if you want to make JS with Go you can with GopherJS or Joy). I don't use Python for backend dev, because is not ideal for this task, I prefer more control and versatility and Go, for me, it provides this.
Web developer crafting code from the tropics, based in Costa Rica. I work hard so my dog can have a better life. I also love traveling and eating delicious food!
How did you get into Go development professionally?
I've been in Java land for ~10 years doing mostly backend work, but I've been seeing increasingly more backend jobs using Go so I'm wondering if this is a direction I should start heading in.
I don't have enough experience but I think, apart from its concurrency primitives, some of the reasons to consider Go are: it is quite simple to grasp, fast, has a low memory footprint and any app can be deployed as a single file. Its standard library is quite extensive also.
Go through gobyexample.com/ and see if it peaks your interest.
What are goroutines bro?
Putting "go" word before any function and automatically create a new concurrent task, in my opinion, is awesome. If you want coordinate many tasks you only need think in the flow of your program and implement your own algorithms, but obviously exist a stack library for this work: the fantastic sync library (golang.org/pkg/sync), look at it!
Goroutines are the Go implementation of concurrency.
And you must not compare Concurrency with Parallelism.
Here is a very good video about it from Rob Pike.
And the associated slides (have a look at it, it is very educational) :
Concurrency is not Parallelism
So it is basically using resources efficiently.
Then you can improve the process using parallelism.
So goroutines are basically the Go implementation of concurrency.
I hope that can help.
To add something to my previous comment, I can point anyone that is interested in Go concurrency models and so goroutines to the best article I have read about it from Trevor Forrey on Medium.
medium.com/@trevor4e/learning-gos-...
It is the perfect one if you are not very used to it and want to learn it the easy way.
And then have a look at his other article. They are absolutely great materials about Go.
I found this helpful x)
gobyexample.com/goroutines
Do you think Golang is a good first programming language? For people that have zero experience in development, but would like to understand core concepts of programming they can later apply to other similar languages.
Oh, wow, hard question, really I don't know I think any language is a good language for understanding core concepts of programming because all concepts are similar (like flow control or computer logic). But I accept exist better languages for the introduction to programming mind, (e.g. python) I suppose it is good because of its simplicity and versatility. Go have very intuitive reserved words and that makes simplicity to Go, but also it has deep concepts that you need to practice to master that. Finally, I'm not sure but I think that exist better languages for start to learn programming core concepts, for me that language is python.
Following godoc of this function, Math.Round rounded any float to the nearest integer, rounding half away from zero (golang.org/pkg/math/#Round) and this function only exist from Go 1.10. If you want another more complex unit to round you can implement it.
You can round float and obteing a string without function Round, if you want you can convert your string to float later.
Here there good references
yourbasic.org/golang/round-float-2...
yourbasic.org/golang/round-float-t...
I actually agree with this.
I feel that Go is more suited for things like Docker, where the main requirement is being extremely stable and fast at the same time. For large codebases, it also works really well due to its "stupid" coding style.
I still haven't found the motivation to get past hello world in Go, but this description appeals to me.
What sets go aside and makes it unique from other languages? Specifically for backend.
(Excluding that its a functional language)
Its concurrency implementation makes it very easy to write softwares that are very efficient.
And it is a compiled language which means that it is faster than interpreted language.
So if you have to process a ton of data, Go is definitely interesting.
And it is very easy to learn. ;-)
I agree <3
Go seems applicable in many fields. Do you think it will become mainstream in areas where there is a de-facto leader today, any time soon? Eg banking and enterprise(Java), DevOps and Machine learning(python), system programming(C++ I believe) or game programming(C# maybe, due to unity)
What other languages were you working with before you got into Go?
I love python too, and I had experience with C and C++, I think Go is an awesome language but its program paradigm (without objects and using pointers) needs special attention and concentration.
I've started Learning Go recently. So far, I've written standalone scripts in Go.
How do I go from a beginner to an advanced Go developer?
Really I don't know, probably the experience and the practice is the best options. If you're creating your own standalone scripts I think you only need merge many of these for creating a big application, one pretty idea to make "complex programs" with Go is create a Backend using its "http" stack library.
i want to ask you the roadmap of the backend developer what should i do to get started with go lang. i know the basics of go and tour of go is also completed. so what do i read or do now ? what should be my next steps
Hello there. I’m thinking of going into backend development using Go. Could you recommend me materials or sites that’s gonna be of major help for me? Things that I need to know to be a backend developer in Go. Maybe stuffs on database, etc. Thanks
Why when I create an element http.template and assign it a * .html file and I launch it with Execute and go to the browser and load the page I get blank?
.I have tried the code with other files * .html with less content and it works for me.
Which orm framework no need to think into owner shoes?
(too many golang framework example is no sense and what you see what you get, can't apply to another case)
I don't understand your question, can you explain to me?. If you're taking about ORMs in Go, personally I use one called Storm, an ORM for BoltDB (BoltDB is an awesome no relational database written in go).
some framework documents like this
Only show how to define/declare
you need to think as that developer think how to use it
How many code generators do you have to write on a daily basis? ;)
How do I get started off with Go for Backend web development?
How do you structure your code (what do you split up in packages, what do you split up into files, etc...)
Do you use a framework? Which one?
Generally I try to struct my project of different ways each time, below you can see two different projects and in the first I don't use folders, I only split my project in different files, in the second image I use folders for each part of the project (this project was really big), if you want see more, you can see in my github account, there I have different projects and you can see all the code.
what do you use as a framework
For web, I use Gin as default, it's very useful. Another alternative is echo and chi (this last is more a router than a framework).
What are the advantages (of any type) in using Go instead of other languages, like Python, Ruby or PHP?
It depends, for example, I can't use Go for machine learning or mathematical computing (not because this is impossible with Go, because exist more suited tools), I think Go is awesome because is simple and fast and have an ecosystem based on the web (a lot of frameworks like Gin Gonic, Iris go or if you want to make JS with Go you can with GopherJS or Joy). I don't use Python for backend dev, because is not ideal for this task, I prefer more control and versatility and Go, for me, it provides this.
Have you used Go with AWS Lambda or for micro-services in general?
I'm a ASP.Net dev and now I work as Go backend dev. How to learn it fastly?
Which tool you use for formatting and linting in your project?