5 ms·
> You have to relearn how a function looks like in the first place. Return types are at the end, parameter types are after the parameter name separated by a col
by merb 11y ago
> You have to relearn how a function looks like in the first place. Return types are at the end, parameter types are after the parameter name separated by a colon.
baroque syntax?
Like these:
- https://swift.org/getting-started https://swift.org/getting-started
- https://doc.rust-lang.org/book/functions.html https://doc.rust-lang.org/book/functions.html
- https://golang.org/doc/effective_go.html#functions https://golang.org/doc/effective_go.html#functions
- https://kotlinlang.org/docs/reference/functions.html https://kotlinlang.org/docs/reference/functions.html
Sorry but you pretty much say clojure is the best, however it has a lisp syntax, which IS baroque and most people aren't use to this.
These days if you want to have a functional style.
You eiter use Scala or Kotlin.
Clojure is too much of a unicorn. People won't learn this. Also people doesn't care how good the language is or what design patterns were used. People use these languages cause they think the language has a actual value for them (as you think about clojure)
- edem 11y agoBy baroque I mean it is overly complicated. Clojure syntax or LISP syntax for that matter is everything bot overly complicated. > People won't learn this. Say that to Uncle Bob or the guys who maintain ClojureScript, Cursive (JetBrains based Clojure IDE) or Om which is a port of React not to mention Apache Storm which was written in Clojure.
- merb 11y agoDon't get me wrong I still think Clojure has it's place, but saying others are overly complicated when talking about Clojure is somehow awful. Lisp is near dead, without Clojure lisp would only be used to train how to implement parsers, compilers, academic stuff. Yeah there are a few people who know lisp, you also forgotten about Walmart, which is a lisp user, however the majority of people in functional languages still won't learn Clojure. But still don't care about, use the tool/language you are familiar with, especially if you could use it in your company. I also see a lot of pressure against scala, and I'm a scala user, but I just don't care.