加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

Perl操作符是“被发现的”而不是设计的?

发布时间:2020-12-15 21:41:31 所属栏目:大数据 来源:网络整理
导读:只是看这个页面: https://github.com/book/perlsecret/blob/master/lib/perlsecret.pod,真的很惊讶的声明如: Discovered by Philippe Bruhat,2012.Discovered by Abigail,2010. (Alternate nickname: "grappling hook")Discovered by Rafa?l Garcia-Suarez
只是看这个页面: https://github.com/book/perlsecret/blob/master/lib/perlsecret.pod,真的很惊讶的声明如:
Discovered by Philippe Bruhat,2012.
Discovered by Abigail,2010. (Alternate nickname: "grappling hook")
Discovered by Rafa?l Garcia-Suarez,2009.
Discovered by Philippe Bruhat,2007.

等等…

以上操作符是DISCOVERED,所以它们不是perl设计的故意的?

这个意思比这里的可能性比perl基础有一些随机的字符序列什么在正确的顺序做一些有用的像()x! “经营者”?

这里有什么其他的语言发现了什么操作?

解决方法

从您链接的页面:

They are like operators in the sense that these Perl programmers see
them often enough to recognize them without thinking about their
smaller parts
,and eventually add them to their toolbox. And they are
like secrets in the sense that they have to be discovered by their
future user (or be transmitted by a fellow programmer),because they
are not explicitly documented.

也就是说,他们不是真正的自己的操作符,而是由较小的操作符组合起来做一些合并.

例如,“venus”运算符(0或0)将对象左侧或右侧编号.这就是以任何形式添加零,“秘密”运算符.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读