HE Shi-Jun

Results 543 comments of HE Shi-Jun

BTW, @zenparsing I'm curious could we just use `x` as the shortcut for `this->x` ? ```js class A { var x f1() { return x + 1 } f2() {...

@bakkot Yes it's obviously not just sugar. This is the biggest limitation of the old closure private. My point is this proposal provide a good mapping for the old way....

@tiye 把自己设计的《九章编程》语言给删了,问题来了,「玩具语言」到底要不要列?怎么判断一个语言是玩具语言(除了像@tiye 一样作者自己说自己就是个玩具语言。。。),学术性的、试验性的语言是不是玩具语言?这个界限很多时候很难判断。 我个人希望本仓库能尽量多的收集各种国产语言,而不管它是不是「玩具」。但也许应该单独列出那些以实际生产为目标而设计的语言。

另一个玩具语言的例子:@doodlewind 的 https://ewind.us/h5/ove-lang/demo/

既然删除非开源项目,那开源那一栏就没用了。 还是感觉可以单独有个页面收录非开源的项目。毕竟易语言也是有wikipedia页面的。。。

I think unique key is very common use case and I hope it could be included in this proposal.

@ljharb I think it's possible to add key param for other array methods, but consider `unique()` potentially could support multiple keys ( #7 ) which unlikely fit for other methods,...

Maybe, but I feel `arr.filter(["a", "b"])`, `arr.find("a")`, `arr.some(['a', 'b'])` are confusing.

I suggest we remove index parameter, and make non-function param throw TypeError so we could reconsider it in the future.

@isiahmeadows Not sure whether they would have perf difference...