Live data from Hacker News

How I keep myself alive using Golang

bytesizego.com

11–20 of 136 posts

Re: How I keep myself alive using Golang

#11

After messing around with Elixir, I decided on my own that the Elixir ship wasn't worth it for me and I moved on to typescript. Now I am debating between Rust and Go for backend development (for a web service). Which one between these two would be recommended for my needs? My priorities are to be able to learn quickly and develop/iterate as fast as possible.

If your goal is iteration and development and not performance, why not just stick with a typescript backend?

Re: How I keep myself alive using Golang

#12
post #9

Earlier quoted context omitted.

Is there a good batteries-included framework for Go, like Ruby on Rails or Django?

The Go community is generally averse to frameworks.

Looks like it, however, wouldn't that decrease the speed of development for new people that come onboard?

Re: How I keep myself alive using Golang

#13
I just wanted to add that your writing style is wonderful and that this was a pleasure to read.

Incidentally, I work in pentesting, and one of my colleagues has Type 1 Diabetes; your overview of it and its resultant complexities really made me empathize with what challenges he has to surmount daily while still being one of the nicest, most approachable people in our team.

Re: How I keep myself alive using Golang

#15
post #9

Earlier quoted context omitted.

The Go community is generally averse to frameworks.

Looks like it, however, wouldn't that decrease the speed of development for new people that come onboard?

> […] wouldn't that decrease the speed of development for new people that come onboard?

If that was the case, wouldn’t people who love Go have created one after more than a decade in existence?

The reason why Go developers don’t like “frameworks” a-là Ruby on Rails in the Ruby ecosystem is because the Go community generally prefers libraries over frameworks because Go’s simplicity and flexibility allow developers to compose their solutions using small, composable packages rather than being constrained by a rigid framework.

This approach often results in more efficient and maintainable code. The Go philosophy emphasizes minimalism and encourages developers to avoid unnecessary abstractions.

Re: How I keep myself alive using Golang

#16
I suspect that type 1 has an environmental cause/trigger in many cases. As an anecdote, I knew many kids from military families or live in close proximity to specific bases where some chemical contamination may exist who have endocrine system issues without any family history of them. I knew very few from other areas and backgrounds with similar issues.

Edit: I'm curious if the people disagreeing with my musings have some studies investigating the topic, or some other interesting point.

Re: How I keep myself alive using Golang

#17

Earlier quoted context omitted.

Go is probably your choice, it was stupid fast to pick up. It’s a fun language too

Is there a good batteries-included framework for Go, like Ruby on Rails or Django?

There's a good list of frameworks here:

https://github.com/mingrammer/go-web-framework-stars?tab=rea...

But you won't find anything that's anywhere near as comprehensive and batteries-included as Rails or Django.

Re: How I keep myself alive using Golang

#18

After messing around with Elixir, I decided on my own that the Elixir ship wasn't worth it for me and I moved on to typescript. Now I am debating between Rust and Go for backend development (for a web service). Which one between these two would be recommended for my needs? My priorities are to be able to learn quickly and develop/iterate as fast as possible.

Unless your goal is learning the new language for the sake of it, Node should already be plenty performant for most needs

Re: How I keep myself alive using Golang

#19

After messing around with Elixir, I decided on my own that the Elixir ship wasn't worth it for me and I moved on to typescript. Now I am debating between Rust and Go for backend development (for a web service). Which one between these two would be recommended for my needs? My priorities are to be able to learn quickly and develop/iterate as fast as possible.

I'd love to hear why Elixir wasn't for you - not from a judgemental place, I just like hearing others' experience reports for languages that stuck or didn't.

For a web service with fast iteration times, I'd probably pick Go of those two. While I'm not personally a giant fan, I think it is a much simpler stack that lets developers be pretty productive especially in the domain of web services.

Re: How I keep myself alive using Golang

#20
Incidentally, I created something related to this yesterday. A tmux plugin to display your glucose data as a status icon in your terminal.

As a T1 myself, I use a Dexcom as my CGM and have it working around that specifically, but I'd love to open it up to other devices too, and offer more. Feel free to check it out! https://github.com/Cian911/tmux-xdrip

Post reply on HN