3 ms·
What are you talking about? Go is a niche language [1] just like Haskell, and the amount of successful projects in it could be counted on one hand (aka docker a
by ernst_klim 8y ago
What are you talking about? Go is a niche language [1] just like Haskell, and the amount of successful projects in it could be counted on one hand (aka docker and kubernetes).
Popular languages are Python, Java, Javascript, and they all use either monads (java, C#) or exceptions (Java, C#, Python, Js).
Also Java, C# as well as the new languages like scala, rust or swift are all influenced by haskell or ML in some way (option/result types, variants), while `if err != nil` is indeed a very obscure and opinionated way of signaling error, which exists in Go and in some very legacy langs only. Java wants to be more like ML than like Go [2] [3].
[1] https://trends.google.com/trends/explore?date=today%205-y&q=Golang,java,javascript,python,php https://trends.google.com/trends/explore?date=today%205-y&q=...
[2] https://www.youtube.com/watch?v=HSk5fdKbd3o https://www.youtube.com/watch?v=HSk5fdKbd3o
[3] https://www.youtube.com/watch?v=n3_8YcYKScw https://www.youtube.com/watch?v=n3_8YcYKScw