| ▲ | throwway120385 8 hours ago | |||||||||||||||||||||||||||||||
The variable prefixes are just the tip of the iceberg. The real problem with those prefixes is that they, themselves, are context-dependent on attributes associated with the underlying data type at run time. So you can find yourself in a situation where the behavior of the syntax differs in ways that are difficult to control for during development. | ||||||||||||||||||||||||||||||||
| ▲ | zbentley 5 hours ago | parent | next [-] | |||||||||||||||||||||||||||||||
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. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | mono442 8 hours ago | parent | prev [-] | |||||||||||||||||||||||||||||||
Yep, there're all sorts of things like this in Perl. Its semantics has always been confusing to me. | ||||||||||||||||||||||||||||||||