| ▲ | zbentley 5 hours ago | ||||||||||||||||
Strongly agree. A language which has something like “wantarray” as a first-class feature is semantically…unique, at best, probably more like “flawed by design”. All the oddness with typing and sigls descends from that. Same for autovivification. Insane feature. Useful for some problems but causes many more. Which is a shame, because perl5 semantics had some nice features too! But there’s only so much you can do with a structure whose foundation is so wacky. | |||||||||||||||||
| ▲ | karel-3d 3 hours ago | parent | next [-] | ||||||||||||||||
You unlocked hidden memories within me. I never understood why Perl has all these crazy features. It feels like someone going "hah it would be funny if it worked like this..." but actually really implementing it. People always said "it's because Larry Wall is a linguist!" as if it explains anything! You always go from "this is neat" to "...but why" quickly with perl. | |||||||||||||||||
| ▲ | zahlman 4 hours ago | parent | prev [-] | ||||||||||||||||
I remember trying to use the new "reference" feature (when it was new), with "blessing" and so on and so forth, to try to create real data structures, and finding in some way or another that it was just not regular. I can't recall the details, but something along the lines of a feeling that the syntax worked differently for, say, the top level of a tree (or first index of a multidimensional array, etc.) vs the rest of the structure. | |||||||||||||||||
| |||||||||||||||||