Here are rchiav's five reasons:
- To me dot notation will be much less cluttered than -> when you have a lot of complex data structures and OO structures that go fairly deep. This is a more mature way of stating point 5, that "." is one less character than "->". But the point is good -- a less cluttered syntax is a better one in most cases.
- It really doesn't need to be used for derefrencing, just for OO. Which basically means it won't be necessary there, so I won't comment.
- Just about every other language that supports OO uses dot notation (could be all, but I'm covering my bases). It takes away a reason not to use Perl. Which is, as you put it, a reason to be found "in LW's ass." rchiav and I have made the same point here.
- Perl is going to have much better OO functionality. It's not just going to be something that's hacked on top of what's already there (like now). This has very little (if anything) to do with why we're changing from "->" to ".".
- It's one less character. See point 1.
ad hominem
_____________________________________________________
Jeff[japhy]Pinyan:
Perl,
regex,
and perl
hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??; | [reply] |