in reply to Re^4: use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20
in thread use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20
In particular, if autoboxing were made a core feature ...
I see no purpose or benefit in autoboxing either. Pseud-OO doesn't float my boat in any way whatsoever.
See Re: What are the drawbacks of autobox? and Re^3: What are the drawbacks of autobox? and Re^5: What are the drawbacks of autobox? if you are interested in details, but in a nutshell, I see not just zero value, but negative value in wrapping over simple, obvious & well understood data abstractions like arrays and hashes in syntactic sugar to make them look like objects.
Some concepts and paradigms neatly lend themselves to object->action(args) notation, but for others it's a clunky, unhelpful force-fit that serves only to dumb-down the language, as if programmers are only capable of handling a single syntactic form.
Authors could reduce every sentence to the iconic 'The cat sat on the mat' form, rather than use forms like 'Upon 400 knot Persian silk rug, the feline reposed contently'; but damn literature would be boring.
|
|---|