wallymathieu / assertfail

https://assertfail.gewalli.se
MIT License
2 stars 2 forks source link

Go #30

Closed wallymathieu closed 5 years ago

wallymathieu commented 5 years ago

When is Go a nice language?

Note the influence of C from Ken Thompson?

What's missing? Null, error handling

wallymathieu commented 5 years ago

My guess is that Go is a nice language to use instead of C++ for similar use cases. I.e. relatively low level programming. It seems a bit too low level for regular business code. However, it can be used in order to entice developers (since the language probably is OK enough for business code even if it's not as mature as alternatives).

wallymathieu commented 5 years ago

I have heard that go works well with mono-repo. From one point of view it could make sense. Both c, c++ lack package manager so similar languages might benefit from similar structures.

https://blog.digitalocean.com/cthulhu-organizing-go-code-in-a-scalable-repo/

https://github.com/stellar/go

While you have modern package management for other languages.

wallymathieu commented 5 years ago

You can do exceptions in Go: https://medium.com/@mattklein123/exceptional-go-1dd1488a6a47 , though not in a manner blessed by the designers

wallymathieu commented 5 years ago

https://github.com/blevesearch/bleve

wallymathieu commented 5 years ago

https://github.com/minio/minio

wallymathieu commented 5 years ago

https://blog.kowalczyk.info/article/19f2fe97f06a47c3b1f118fd06851fad/lessons-learned-porting-50k-loc-from-java-to-go.html

wallymathieu commented 5 years ago

http://yager.io/programming/go.html

wallymathieu commented 5 years ago

Perhaps something to look into: https://lets-go.alexedwards.net/

wallymathieu commented 5 years ago

https://github.com/ksimka/go-is-not-good

wallymathieu commented 5 years ago

Core benefits of Go:

wallymathieu commented 5 years ago

I've heard it said that it's kind of lightweight to use. I.e. doesn't require big IDE. This can definitely be considered a pro.