Raku programming language is more complex than it can be
There are multiple ways to do one thing, and it was confusing. There are even multiple ways to call a function. I found myself constantly reading the documentation for syntax.
The language concepts are rather complex. Junctions are confusing.
You can certainly write raku more like natural language than other programming languages, but that comes at the expense of simplicity.
I still have to think like a computer with messy lingual complexity of a human language. A human langauge is messy with a lot of exceptions. A computer language should be simple and clean.
Raku felt more complex than haskell. I also wish raku didn't have OOP because OOP is hard to reason about.
There are still good things about raku. Its package management is better than most others, but the language for specifying package dependencies is complex.
With all the complexities of raku, you still don't get tail call optimization. Thus, I can't really do functional programming in raku.
If you want a simple language, raku is not it. Use raku when only raku ecosystem offers libraries that you want to use. Otherwise, use simpler programming languages.
3 comments
[ 2.0 ms ] story [ 18.9 ms ] threadIs the result simple, no. Can you learn it as quickly as python, not really (you can stay at the surface and not use all the stuff). Is it worth the effort - absolutely! Is it fun, yep.
A quick example to your point.
So yes any sub can be called like a method if you use &.Simplicity by itself is not a virtue of programming for me, it's simplicity WITH expressiveness what matters, for that matter Golang is extremely simple (in a sense of core language) and also extremely verbose, as it lacks some primitives that some languages have, so a programmer should reimplement the same ideas over and over again using limited language syntax (and writing a lot of boilerplate code) rather than relying on expressive syntax of a language core as this would be with Raku ...
HTH