5 ms·
Thank you. I am just beginning to learn Go. This will be very useful to me. If anyone knows similar notes for Python & C#, please reply.
by mylinkedlist 6y ago
Thank you. I am just beginning to learn Go. This will be very useful to me.
If anyone knows similar notes for Python & C#, please reply.
- The_rationalist 6y agoWhat make you keep learning Go once you've tasted C# delights?
- throwaway894345 6y agoI started with Java, C#, and Python and one thing I really appreciated about Go was the simplicity. I like how many features it strips from C#. Some people take the tack that a language that is the union of all features is the best possible language on the grounds that one can choose their own feature set, but this is pretty obviously fallacious when you consider that you need to collaborate with others, use 3rd party libraries, etc. I also like the fact that it compiles to a single static binary by default. Don't get me wrong, I think C# and .Net in general are pretty cool pieces of technology, but I never find myself reaching for them because I'm very often confident that I can get the job done more quickly with Go.
- The_rationalist 6y agoJust don't use the features you haven't yet learn. In a few years of experience you will reach a plateau of productivity in go that you'll only be able to beat by migrating toward a more featureful/better thought language
- throwaway894345 6y agoLike I said, I came to Go from C#, and my experience has been such that I’m generally more productive in Go. Further, I already addressed the fallacy that you can just avoid certain features.
- cmckn 6y agoVast majority of my experience is Java, but I'm in a C# role right now. I have to agree with you, having only used Go tangentially -- the tooling is more approachable and bootstrapping a project is more straightforward. I can go ;) from zero to _something_ in a much shorter time
- throwaway894345 6y agoThis is what drew me to Go circa 2012, and I’ve been pleased to find that Go’s value proposition doesn’t end after a short period of time but continues to pay dividends for individual developers and for the project as a whole over the long term.
- The_rationalist 6y agoIt would be interesting to say how much years of experience actively programming in C# you have.
- throwaway894345 6y ago5 years.
- The_rationalist 6y agoWow OK you're then an interesting data point that make me accept to begin doubting about the supremacy of C#/Kotlin over Go.
- throwaway894345 6y agoProductivity isn’t the only factor. C# and Kotlin are great languages in their own right. Notably for very dynamic workloads, the respective JIT compilers can do some impressive optimizations.
- zeroc8 6y agoEvery developer on the project then uses his favorite subset. Which may or may not be the same one you prefer and know. Unless of course you know everything ;)
- coip 6y ago.NET runtime
- mylinkedlist 6y agoMy work involves a lot of AWS infra related things. Some time ago, I was tasked with finding a way to route websocket requests to the backend, which is completely dynamic. While I was looking for solutions, I came across posts here in HN about creating simple reverse proxies using Go. This got me interested in Go. I felt Go would be an ideal language for networking related work. Note that I am a complete newbie in all these, so could be wrong.
- shp0ngle 6y agoThis is one person notebook. Lot of it is just experiments and not idiomatic code. (I don't mean ill to the original author, they present it as such. Just saying that here.)
- lattalayta 6y agoI haven't looked through all of them, but I came across this website recently. https://learnxinyminutes.com/ https://learnxinyminutes.com/ I think it's more geared towards people who have experience in one language and want to get a quick crash course in another. Most useful for people who learn by example.
- cmckn 6y agoThis is great! Super clean. Thanks for sharing!