4 ms·
In my experience writing go is very fast and reading go is also very fast. The language was designed to be very comfortable, and they did a great job with that.
by Taek 10y ago
In my experience writing go is very fast and reading go is also very fast. The language was designed to be very comfortable, and they did a great job with that. You sit down to write something and you don't have to think too much about the best way to tackle the problem, the lines of code just flow from your fingertips. There's mostly one way to do everything, which makes doing things easy.
Code review is much the same.
- tejasmanohar 10y agoI feel the same. Go is a different type of terse. I think terseness goes beyond the number of lines. When I skim Go code, I can grasp the meaning of it very quickly.
- sjellis 10y agoI've seen talks where Rob Pike describes Go as being "light on the page" vs. "noisy", meaning (I think) that it doesn't have lots of sigils and annotation bits around the code.
- oscargrouch 10y agoAnd those are the secret ingredients of a great language for team programming. And thats why Go will dominate the market that once was meant for Java.
- tigershark 10y agoI really hope not, there is already a lot of awful code around written in Java. I can't imagine codebases on the MLOC range written in a language even worse than java 1.4 (it didn't have generics, but at least it had exceptions)
- bitmapbrother 10y agoThere are MLOC of awful code in every language including your favorite.
- oscargrouch 10y ago"bussiness" languages will never change. It will be Cobol, Java, C#, Go, and then something like that in the future. The truth is, theres not enough smart people to do things in the hundreds or thousands in a more sophisticated language. And also speaking of smartness, sometimes, using simple tools, can help you focus on algorithms. Linus and crew coded the whole Linux in C, a language with very few resources, and considered pretty ugly by today's standard. So i can see the beauty of that, even when you are able to use any sort of more sophisticated language, sometimes chosing something that can be shared with more people can pay off, instead of a more "elitist" language, with a higher barrier of entry. And also lets not forget, that theres always some economics at play. Where companies not focused in IT will choose tech that can scale by the number of employees, do its job and be cheap as possible. I think there will be no antidote for that. It will always be some reincarnation of Java.
- geodel 10y agoThere are already MLOC projects in Go like Kubernetes, Docker etc.
- ashark 10y agoThe legibility and simplicity are my favorite things about Go. I know that I can fearlessly dive into other people's source to figure out what's going on without running into 15 levels of indirection hell and a bunch of language features/idioms that I'm not familiar with for one reason or another.