DEV Community

Discussion on: What simple things annoy you about your favourite programming languages?

Collapse
 
pbnj profile image
Peter Benjamin (they/them)

Golang

  • Package management
  • I miss functional programming paradigm
Collapse
 
alexdreptu profile image
Alexandru Dreptu • Edited

Oh yes, this. Using Go sometimes feels like playing with barbed wire, instead of a sponge.

Collapse
 
mortoray profile image
edA‑qa mort‑ora‑y

I haven't used it yet, but doesn't Go allow any kind of functional programming? At least the basics of high-order functions?

Collapse
 
pbnj profile image
Peter Benjamin (they/them) • Edited

Higher order functions, yes.
Anonymous functions, yes.
Recursive functions, yes.

But, no map, reduce, filter, pattern matching, and some other stuff that make the language as expressive and concise as FP can be.