3 ms·
> 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?
by apta 7y ago
> 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?
- schpaencoder 7y agoClojure
- jpgvm 7y agoFor 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.
- innocentoldguy 7y agoElixir, Erlang, and Clojure, to name a few.
- yawaramin 7y agoOCaml. 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/CacheControl/index.html https://yawaramin.github.io/re-web/re-web/ReWeb/Header/Cache...