Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
messhias3545y@shoop how long took to you start deploy products? I'm doing a streaming app and I read about Golang be good for this kind of type of service.
-
messhias3545y@stop yes, C++ on this case it's more harder. But my goal was to understand if the go works at the same way.
-
@messhias Watch some talks by dave cheney. He talks about important stuff.
1. Use a good go IDE, and pay attention to warnings.
2. goroutines, and variable scoping is important! pay attention to it.
3. Try not to leak stuff. It is subtle, and requires some experience.
4. Use the race detector. Maps are not thread safe!
5. Use modules. But be very carefull when you do. Go has some weird ideas about versioning, and old packages can disapear... -
messhias3545y@magicMirror I read about that, it's uses git repositories and everything seems attached to master branch.
It's very nice, but stupid at same time because you be risk to be always with some bugged version. -
@messhias The broken master thing is not the problem.
proper go modules use tags. semver, and based on git tags. So no breaks, if tagged version is stable.
The real issue is that there is the possibility that the whole library can be removed from github (or wherever), and then your build will break... you need to keep updating dependencies to avoid that.
Related Rants
-
chrisrhymes10At my old job we hired a junior developer. Turned out the junior knew more than all of us. I learnt a lot from...
-
Mb3leb10Dear junior programmers: You will never get hired from what you learned at University You have to study on y...
-
dyslxr40So I named my daughter "io" everyone calls her by the name and then we register her on our local gov't to get...
I started learning Golang, at first sign I like it since I came from C++ background so seems very friendly at first sight.
Yesterday I took some time to read algorithms and data structures book and some patterns of language looks quite different for me anyway.
Someone has a good detailed explained book, tutorial or whatever for Golang to share?
I tried the documentation but I didn't understand it too much, looks very advanced for someone is newbie on the language.
rant
studying
golang in 2020
golang
knowledge