3 ms·
For Go people: How (learning) Go made you better programmer? I haven't written any of these two languages but I have read Rust doc few times in depth and I con
by Risord 10y ago
For Go people: How (learning) Go made you better programmer?
I haven't written any of these two languages but I have read Rust doc few times in depth and I constantly miss many of it's features in my daily .net work since then.
Example:
-Optional over null
-Union types
-Trait implementation is independent from source and target models
- danaliv 10y ago> How (learning) Go made you better programmer? It didn't. Go offers nothing that a dozen other languages haven't already offered, and fails to include important features that are standard in every other modern language. It is simplistic to a fault.
- kasey_junk 10y agoYou know, that is my immediate reaction as well. But if I'm more introspective it did teach (or reinforce) a few lessons that are worth knowing. Dependencies have a cost (even if they are easy to manage). Abstractions have a cost (even if they are easy to write). Consistency is often better than best case performance. Code style doesn't matter. Scriptable tools are invaluable. Make ain't that bad. Enjoying your team is more important than enjoying your language. All told, I don't think Go will ever be my first choice, everything else being equal, for anything beyond what I like to call "bash++". But it also won't be a reason I don't take a job, or move to a team and if my team wants to use it, I won't object too strongly.
- mtalantikite 10y agoGo made me appreciate static typing and a compiler. Before picking up Go around the 1.0 release, the last time I spent any significant time with those tools was 10 years prior as an undergrad using Java. Java really made me hate those things. I spent the years in between with languages like Ruby, JavaScript, and Python. Now I actually prefer using compiled, statically typed languages, Rust being the most recent one for me (and I still dislike Java).
- Risord 10y agoWelcome to the dark side =) I am not a Java fan either but I felt dynamic languages even worst. Since then I have loved to modern static type systems like in Rust (in theory) and Elm/Haskell.
- themihai 10y agoGo is more about pragmatism. If you need to deliver a web API today it is definitely a better choice than Rust and many other languages. Tools such Godoc encourages you to dive into the source code, something that is missing on many languages(i.e. Apple Swift/Objective-C). Shortly said I think it makes you a more pragmatic developer.
- Risord 10y agoI see. Quite a different motivation.
- jasonwatkinspdx 10y ago> How (learning) Go made you better programmer? It got me to reconsider how I view tooling, linters, etc, and my work is better for it. As far as the language design itself, I do not believe I learned anything new from it.
- weberc2 10y agoIt taught me that simplicity and good tooling are more important than purism about types.