Hey, everyone! Title basically says it all.
I have recently started playing around with Go and I really like it. I am coming from php/laravel background, so statically typed and compiled language like Go was like a new adventure for me.
I am curious to know if there are any fellow indiehackers who are also using golang to build their side hustles and single man projects. Do you enjoy it? If you used dynamically typed languages before and switched to golang - is there someting that you miss?
I use Golang exclusively! Current stack:
-Golang for backend
-Gorilla Mux
-Mongodb for database
-Host on DO managed K8s
-Vue + Vuetify hosted on Netlify
I've been using Golang for 2 years professionally, and I've some side projects using it. It has many advantages:
There are great projects as well using Golang, like hugo.io (static site generator) I use for my blog and a landing page.
Now I wouldn't use it for a MVP (I would go more Ruby / PHP for that with frameworks) or for prototyping, because even if static typed languages are great, they have their drawbacks too (and don't think because it compiles there is no bugs).
There is no mature web framework like RoR either. Even worst: no generics (soon implemented, but in a weird way, at least to me), which makes functional programming almost impossible (good luck implementing map for all types...).
For a heavy frontend, I would go Clojure / Clojurescript. JavaScript is not my thing. For CLIs / blogs / landing page, Golang all the way.
I know that at Cycle.io we use Golang (I personally don't) and the guys who do LOVE it. It is not a side hustle or single man project anymore though, but we are a startup that builds a container and cloud orchestration tools (think like kubernetes but not a k8s abstraction). I also know of another company that does dark web monitoring who love Go, so there are some startups making some come ups who will exclusively be hiring Golang devs, since funding is coming in and Go isn't going anywhere for either of us for a while.
I use Golang for all my projects
Swish
Iteretta
I've worked with it and others. All small projects by one person in a green field area start out with a relatively good feeling.
When it grows and/or you need to integrate things... as usual it depends on other people, with golang the types used to communicate and as an API for libs is an important part. On bigger projects you might find yourself creating a new type that seems to be the same thing is 3 or more formats just to keep everything happy and it starts making one mental to remember the subtle differences between them, one is cause of this 3rd party, one is our wrapper, one is the format from the config/cli/.. and one had a type inside a type just to reduce the 5 paramters to 1.
honestly I never develop too deep of feelings to any one language, I jump between stuff as it fits the situation - jack of all trades, master of none.
I know people dislike it's error handeling, not having exceptions, debugging capabilities and a few minors
the eco system is still pretty small/young and sometimes you get into a things just to realise, yea all these libs, but they miss core important functionality, so there I need to go build it
For small things and backends - enjoy the novalty factor.
The one way to write prettify parser default is nice, besides learning/teaching about not forgetting a lib gets deleted if you don't use it before you hit save :fist-shake:..
I don’t use it myself but I’ve dabbled with it for a bit.
I think for MVPs I’d probably stick to node or something similar that will let you move fast unless you’re an expert in go as there are same drawbacks that have been mentioned here.
General advice would be to stick to what you know but if you wanna learn it go ahead it’s not a bad thing to know :)
I am using golang and I enjoy it very much
What IDE are you using for go?
goland!
Goland by jetbrains seems to be the best at the moment.
We use Golang for all of our backend services at Loophole, be they APIs for authentication or our satellites for Lynk.
Golang is absolutely perfect for all of our use cases and as an added benefit it’s pretty damn fast.
Coming from Node.js I thought I would hate the static type system but Golang provides some pretty great features to ease that transition (like the := operator).
One thing that Golang is missing is generic types which can be annoying if you’re used to working with class inheritance, but that feature is slated for an August 2021 release.
I’ve been using Go for pretty much everything I do on the side, so it was my obvious choice when I started building PoshieBot.com. Sometimes life gets busy, and I find that Go makes it easy to quickly regain momentum on a project you haven’t worked on for awhile.
I'm using Golang for one of my current projects for serverless function and absolutely love it.
I've used JavaScript in previous projects for both frontend and backend cause I thought I'd be quicker than with statically typed functions. It felt quicker in the beginning but I spent A LOT of time hunting bugs in the end so I mostly went back to statically typed languages.
I'm using Go to write some of my background services alongside Rails, and I'm really happy with it.
i dipped my toes in golang for a second and really liked it, but coming from a high level oo language background, dealing with pointers and functional programming was too steep of a learning curve for me to take it to production
This comment was deleted 6 years ago