01:18:54  * not-an-aardvarkquit (Quit: Connection closed for inactivity)
04:56:24  * jmdyckquit (Quit: Leaving.)
06:33:44  <littledan>I don't really get any of these arguments
06:34:09  <littledan>In programming it's always possible to implement things multiple ways
06:34:24  <littledan>Ljharb, you could also ban literal this.#x
06:34:39  <littledan>And force people to use #x where possible
06:35:13  <littledan>I don't see the confusion with .call; could you elaborate on why that wouldn't​ be intuitive?
06:37:10  <littledan>Bakkot: yes, the intention is that you would use #x almost all the time. This gives you an 'ergonomics sweetener' for upgrading to private state. What's the problem caused here?
06:38:20  <littledan>Wycats was always a big champion of creating this sweetener
06:42:48  <wycats>Yeah I am
06:43:38  <wycats>And I think the style of using #foo almost all of the time will be highly plausible unless people successfully advocate against it ;)
06:43:50  <wycats>Need to sleep though
07:00:33  * gskachkov_joined
07:23:47  * gskachkov_quit (Quit: gskachkov_)
07:24:52  * gskachkov_joined
07:52:18  <ljharb>littledan: yes, my very light preference would be to require only `#x` or `this.#x`, but if we end up with both that'll be fine, it'll just be a lint rule to force one or the other
07:53:44  <littledan>It would be very strange to ban this.#x in the language as 'this' is a perfectly fine expression
07:53:58  <ljharb>oh totally
07:54:35  <ljharb>i'm saying that from a style perspective, a codebase generally should only do a given thing a single way. so it's always nicer when the number of ways to do a thing are as close to 1 as possible, since it means one less lint rule to apply.
07:55:45  <ljharb>outside of casual chatting tho, i'm not planning on pushing against #x at all. this came up because the FAQ on the private fields repo lacks a section on the shorthand, and someone pointed out that the shorthand is the only reason there's an ASI hazard requiring `this.#x`
07:56:36  <ljharb>overall i think private fields, as-is, is a great feature and would rather have it (and simply implement a linting rule to enforce a single style) than risk not having it based on arguing "shorthand or not" ¯\_(ツ)_/¯
08:54:31  * gskachkov_quit (Quit: gskachkov_)
08:55:34  * gskachkov_joined
09:10:46  * gskachkov_quit (Quit: gskachkov_)
09:39:09  * gskachkov_joined
09:53:30  <Bakkot>littledan: it's just that it's not how property access is normally done.
09:54:30  <Bakkot>the point about #x() is that normally the reciever is visible at the call site, or is undefined/the global: a bare function call normally does not have a reciever. and #x() doesn't have an object.
09:58:35  <Bakkot>it's not a super strong feeling, and I don't think it would really cause problems. just kind an aesthetic thing.
10:25:09  * mylesborinsquit (Quit: farewell for now)
10:25:40  * mylesborinsjoined
10:46:17  * gskachkov_quit (Quit: gskachkov_)
10:48:27  * gskachkov_joined
10:54:35  * gskachkov_quit (Quit: gskachkov_)
11:01:54  * gskachkov_joined
11:04:27  * gskachkov_quit (Client Quit)
11:31:33  * gskachkov_joined
11:47:16  * jmdyckjoined
12:03:07  * gskachkov_quit (Quit: gskachkov_)
12:52:20  <littledan>Bakkot: Yeah, this would definitely be making a new thing
12:53:24  <littledan>I feel like all of these issues are pretty core to the existence of a shorthand. I see both sides--definitely a new, different thing, but also I like the idea of encouraging private state usage
12:54:08  <littledan>i can see why you'd want everything that references `this` to have `this` present syntactically; we're already breaking that with `super`, but that's sort of a special case
12:54:41  <littledan>I agree that shorthand is the main reason for putting the .
16:41:53  <ljharb>littledan: at the least tho, the faq should probably have a section about shorthand
16:42:57  <Bakkot>wycats: ^ would you be willing to write a short PR for the private fields FAQ about that?
18:02:16  * not-an-aardvarkjoined
18:28:19  * gskachkov_joined
19:05:45  * gskachkov_quit (Quit: gskachkov_)
19:07:00  * gskachkov_joined
19:11:56  * gskachkov_quit (Quit: gskachkov_)
19:12:46  * gskachkov_joined
19:19:17  * gskachkov_quit (Quit: gskachkov_)
19:19:41  * gskachkov_joined
19:23:29  * gskachkov_quit (Client Quit)
19:27:58  * gskachkov_joined
19:30:30  * gskachkov_quit (Client Quit)
19:38:54  * gskachkov_joined
19:44:09  * gskachkov_quit (Quit: gskachkov_)
19:46:22  * gskachkov_joined
19:48:00  * gskachkov_quit (Client Quit)
19:49:19  * gskachkov_joined
19:52:32  * gskachkov_quit (Client Quit)
19:53:12  * gskachkov_joined
19:59:46  * gskachkov_quit (Quit: gskachkov_)
20:02:42  * gskachkov_joined
20:08:00  * gskachkov_quit (Quit: gskachkov_)
20:21:29  * gskachkov_joined
20:49:05  * gskachkov_quit (Quit: gskachkov_)
23:11:37  * jmdyckquit (Quit: Leaving.)