Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bakkoting
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
121.
▲
by
bakkoting
4y ago
It is, actually. Well, "class" and "super" were never legal even before they became keywords, because the language was designed to evolve and those were obvious things which might be useful later. But "await" s
122.
▲
by
bakkoting
4y ago
Mozilla is absolutely thinking in terms of the nightly version of the spec. I agree that public messaging sometimes talks about annual editions, but this is mostly because it's a convenient way to talk about when features were added to
123.
▲
by
bakkoting
4y ago
> That's why each change to the spec results in a new version. It's a self-fork of the previous spec. That's not how it works, no. There is just the spec [1], which is updated frequently. I am editor of the specification.
124.
▲
by
bakkoting
4y ago
Deno has already made similar changes, like https://github.com/denoland/deno/pull/4341 . That particular change happens to be allowed by the JS standard. The change discussed here isn't currently allowed,
125.
▲
by
bakkoting
4y ago
o/ Luca! Fellow TC39 delegate here. > It is unlikely that freezing all intrinsic prototypes and objects is even enough. People will find ways to exfiltrate tokens. This is probably true, but frozen intrinsics would make it a _lot_ h
126.
▲
The Principle of Least Frustration
(writing.bakkot.com)
1 points
by
bakkoting
5y ago
|
0 comments
127.
▲
by
bakkoting
8y ago
> I've got some free time this summer so let me know if you have any advice about what else to add. If you're taking nitpicks: some of your example calculations don't track units, like the ones on https://landgr
128.
▲
by
bakkoting
9y ago
No, there isn't. I am on TC39.
129.
▲
by
bakkoting
9y ago
Briefly: there's _tons_ of style things eslint can't even warn about which prettier will just automatically fix. Most dramatically, eslint doesn't know how to wrap long lines. Also, though, eslint offers a bunch of non-style
130.
▲
by
bakkoting
9y ago
I'm not making a case for or against TypeScript; I'm just concerned that people be aware what is and is not part of JavaScript. You said that TypeScript had no additional features except types. That's all I'm responding
131.
▲
by
bakkoting
9y ago
Decorators, and class fields, are pre-stage-4 ES proposals. That means they are not part of JavaScript. Moreover, what ends up eventually landing, especially in the case of decorators, is unlikely to work quite the same as what TypeScript i
132.
▲
by
bakkoting
10y ago
> Wanted to show that you could do stupid, hard to analyze things in ES6 modules too. But maybe you can't !? You can't, at least not in this way. A module's imported and exported names are statically determined. Of course,
133.
▲
by
bakkoting
10y ago
> It doesn't impact destructuring at all because destructuring lines start with let That's just not true. You can have destructuring assignments, not just declarations: `[a, b] = [b, a];` is perfectly legal ES2015.
134.
▲
by
bakkoting
11y ago
I think the main draw is that Triplebyte will get you past the initial screening mechanisms. This is particularly useful if you can write good code but have no formal education or otherwise cannot put together a resume.