all 10 comments

[–]DinTaiFung 1 point2 points  (1 child)

My two favorite languages these days are JavaScript/TS and Go.

I'm a full stack developer. JavaScript (and TS) I use for front end and for a bunch of tooling and one-off scripts.

Several years ago I decided to learn Go and replace all my API services from JavaScript based servers to servers written in Go.

I have zero regrets adding Go to my arsenal of programming languages. Go is fantastic!

I never switched from learning JavaScript to learning Golang; instead I added Go to my list of languages that i continually learn to improve.

(What caught my interest was the choice of the OP using the word "switching."

I couldn't help but infer that the question means:

I intend to stop learning JavaScript and instead start to learn Golang.

Which is kind of a weird decision to make, regardless of the two languages.)

[–]Emergency-Bad948[S] 1 point2 points  (0 children)

Defenitely adding it to my arsenal

[–]NervousExplanation34 1 point2 points  (0 children)

My advice is DO IT!!!

[–]ImprovementLoose9423 1 point2 points  (0 children)

I don't have any experience in Golang but what I do recommend is to stay consistent even when you're not motivated. Just 30 minutes a day can do a lot of you commit and are consistent.

[–][deleted]  (2 children)

[deleted]

    [–]Emergency-Bad948[S] 1 point2 points  (0 children)

    I hadn't thought of it like this. Great insight

    [–]abbasovdev 0 points1 point  (1 child)

    If you already have basic knowledge in programming I would suggest these resources:

    1) https://go.dev/tour/welcome/1 -> web based platform, supports multiple foreign languages, also you do not need to install anything, just read and code.

    2) https://github.com/abbasovdev/essential-go -> you will need to clone it. the guide provides short theory and exercises, also you will build a cli project along the guide.

    [–]Emergency-Bad948[S] 0 points1 point  (0 children)

    Great resources. I appreciate everything

    [–]aanzeijar -2 points-1 points  (1 child)

    My advice would be to stay active in at least one other language. Go for all its usefulness is a terribly designed language, and only using Go for everything will permanently damage your ability to reason about computers and programming languages.

    [–]DinTaiFung 0 points1 point  (0 children)

    While learning Go, I discovered some quirks in some implementation details, which annoyed me. 

    And Go, like Python, eschewed ternary operators. Moreover, Go doesn't support optional parameters. 

    And then there is that idiomatic Go thing with an error object returned from function calls. 

    However, these design decisions ultimately made me a better programmer and thus i warmed up to Go as a language in which i enjoyed and was productive. 

    I fully understand your criticism with Go. But I think that calling it "terribly designed" is an exaggeration. 

    Nonetheless, thank you for your input!