I fear I may find myself learning #golang in the foreseeable future. Somebody stop me. (I don't need another time-sink!)
All y'all saying "oh it'll probably only take you a week to learn Golang, it's not that much of a time-sink" are clearly not accounting for the time I'll then spend fixing bugs in the Go apps I am using (rather than just filing issues against them)!
It's OK everybody, I worked around learning Golang (for now) by rewriting one of the outdated/buggy Go-based things in Bash, so that's good.
(before you ask, no my code isn't as robust as the original, but it does what I need for the time being)
Learn golang, people told me. It'll be easy, they said.
https://github.com/golang/go/issues/60930
x/website: Random greeting tutorial docs outdated · Issue #60930 · golang/go

This commit: golang/website@f734127 removes some code from the tutorial, but fails to remove the explanation for that code: https://github.com/golang/website/blob/cf517d8748f3d07b8a57fbee59d056c25b...

GitHub
@mattcen these people lied to you (I think the "golang is easy" idea only happened because Rust is around to compare it with)
@mattcen how else will you learn?
@mattcen You must not do this. Only learning Rust can save you from this fate.
@abstractcode Rust is also on the list, but not as high up. Most of the tools I've been trying to wrangle recently that have seemingly (hah!) small bugs seem to be written in Golang.

@mattcen I am shocked that a language that requires you to check the error value on every function call would have notable numbers of small bugs.

Now if you'll excuse me I'm off to write code with absolutely no defects of any kind. <MASSIVE EXPLOSION>

@mattcen what language are you coming from? I go through language exploration a lot, honestly, and it’s a good time 😂
@komish Oh I'm sure it'd be a *great* time, but it's not immediately going to pay the bills or tick off the actually important to-do items on my list, so I can't really justify it to myself yet!
FWIW I'm mostly using Python currently, but I'm a generalist so I know a little about a bunch of languages.
@mattcen do it!
@rebelopsio this is the exact opposite of what i asked for why would you do this
@mattcen it’s a great language and especially great at having a low barrier to entry. You may not sink a lot of time into it depending on what you want to do.
@mattcen Eh, you can learn enough Go to be dangerous in like, a week; it’s not too much of a time sink unless you want it to be!
@mattcen Learning a language X will make you better at language Y. In particular, learning #golang as a #python engineer helped me to understand and appreciate composition, type annotations, communicating by passing, structs/dataclasses, and not raising an exception when returning None fits better.
@mattcen learning Go isn't the time sink. It's only when you decide to build a language learning tool by scraping Wiktionary with it that it becomes a time sink. In my experience anyway 😅
@mattcen #golang is the anti-time-sink!
It will take less than a week to learn it.
You will never need to google its features, to remind yourself how it works (except for the time.Parse)
It is so opinionated, that you will never waste time thinking how an algorithm should be written.
You will understand other's people code effortlessly.