News for hackers. Stuff that matters.
Re:The Zen of Go by apta on Sunday February 23, 2020 @09:18AM (#22396916)
> The moment there is business logic I don't want to be writing Go anymore.

What do you prefer for writing business logic type apps then?

Re:The Zen of Go by jpgvm on Sunday February 23, 2020 @12:13PM (#22398017)
For me right now it's Kotlin. I believe it picks a good balance of simplicity/readability vs expressibility/power.

In particular I find it's generics, data classes, infix operators and extension functions very useful for expressing business logic concisely.

These features let me write half (or less in many cases) the code I might need to in Go.

More importantly is Kotlin is much easier to refactor. Part of that is there is just less code to refactor, the other important piece is tooling and IDE providing awesome automatic refactoring tools.

Re:The Zen of Go by yawaramin on Monday February 24, 2020 @12:20AM (#22401860)
OCaml. For example here are some types I wrote that exactly describe an HTTP cache-control response header in a way that makes it impossible to create incorrect values of the header: https://yawaramin.github.io/re-web/re-web/ReWeb/Header/Cache...
Re:The Zen of Go by schpaencoder on Sunday February 23, 2020 @09:31AM (#22396972)
Clojure
Re:The Zen of Go by innocentoldguy on Sunday February 23, 2020 @04:47PM (#22399767)
Elixir, Erlang, and Clojure, to name a few.