4 ms·
Go has a shorter time, and that’s the measuring stick in this area.
by steveklabnik 7y ago
Go has a shorter time, and that’s the measuring stick in this area.
- wrs 7y agoGo appears to have a shorter time, because you don't realize how much higher-level stuff you're just expected to do The Right Way, with no support from the language or libraries. So you're free to think you've finished learning Go, but then the actual learning begins.
- hu3 7y ago"The Right Way" lies in a wide spectrum and depends on the project. It's often about how fast one can deliver maintainable software that works well enough.
- zozbot234 7y agoRight, it's a false economy. Though, to be fair, the Java/C# ecosystem has the same problem to an even greater degree. Not to mention popular "dynamic" languages such as Python, Ruby etc.
- jerf 7y agoEven accounting for what you say, it's a short learning curve compared to most languages. It's not like there's any programming language in the world where you just read the manual through once and, boom, instantly you know exactly how to architect a multi-person-century project right out of the gate or something.
- eecc 7y agoHmm, that’s a bit of a straw man you’re making here. No one is arguing better languages will magic complex architecture efforts, we’re talking about basic state management here... garden variety implementation details
- nickbauman 7y agoState in the context of concurrent programming is not a "garden variety implementation detail." It's the Great White Whale of our industry. No language does it especially well. I have my favorites in this arena, but it's still hunting a large sea mammal with a harpoon. What you're suggesting is essentially avoiding hunting it altogether. We're not there yet.
- dnautics 7y agoAgreed. Worked with a senior who "learned go in a week" then faffed around for months (to prod! because he had the implicit trust of management because he was "a genius") deploying broken software with tons of concurrency bugs because he didn't know how to manage shared state.
- deleted 7y ago[deleted]
- gas9S9zw3P9c 7y agoThis is very true. I recently ported large portions of Go code to Rust, and while it was somewhat of a steep learning curve and a fight with the compiler, in the end I felt very comfortable that the result is correct, fast, and had good abstractions. Go was so "easy" that I was immediately productive, but this resulted in often suboptimal and messy code that I had to refactor over and over again due to concurrency, abstraction, or performance issues. True productivity is hard to measure.
- erik_seaberg 7y agoLearning should pay off. Bragging that one can learn your language quickly is like bragging that your toolbox is nearly empty.
- akiselev 7y agoGo is the golden standard for extracting the most value out of unexperienced computer science grads but it is not the measuring stick, not by a long shot.
- pjmlp 7y agoJava did it first, catching up with 1996 here.
- michaelcampbell 7y agoInterestingly enough, Java caught hell from people for "pandering" to "average" programmers, where Go seems to be getting kudos for the same thing. Strange times.
- jstimpfle 7y agoI've only ever read through Go tutorials but never used it. I've used Java in a small capacity, and while I found some things convenient, some other things were also pointlessly restrictive. For example that syntactic overhead, having to wrap everything in a class. You can't even have a global variable without typing your fingers sore. Pretty sure that Go isn't equally restrictive (while still being garbage collected).
- erik_seaberg 7y agoJava was derided as being for people who thought C++ was too hard. But those people were right. C++ is too hard, in that "undefined behavior" demands an inhuman degree of perfection.
- pjmlp 7y agoAnd now Go is being praised for being for people that think Java and Python are too hard. It is a better option than keeping using C, and it would have been great in 1996, but that is about it.