Live data from Hacker News

TypeScript types can run DOOM [video]

youtube.com

111–120 of 391 posts

Re: TypeScript types can run DOOM [video]

#111
post #81

i envy dimitri's ambition and capabilities. i want to be able to dedicate that much effort and more into something I'm passionate about. mostly personal discipline/skill issues but MAJOR props to dimitri and this awesome project.

If you decide to have kids that’s a great long term project.

Re: TypeScript types can run DOOM [video]

#113

Honestly every time I worked on TypeScript codebase and the type definition "any" started popping out more and more often, I felt I'm starring into the abyss.

There are valid use cases for any (such as type constraints). Playground with example here: https://tinyurl.com/5ahs366a

Seems to also work without any:

    type Values> = T[keyof T]

Re: TypeScript types can run DOOM [video]

#114
post #108

Earlier quoted context omitted.

> But if he was being considered for a mid level generalist role, yeah, none of this would’ve mattered. And why should it? As someone who has been on the hiring manager side, I'll state the obvious: because it demonstrates insanely good problem-solving skills that would transfer to nearly any challenge.

Would he have made it past your recruiter screen though?

And would he have even bothered to apply, given the boring-sounding, narrowly worded JDs that get posted?

Re: TypeScript types can run DOOM [video]

#115
post #109

One of the top comments in the video: > If this guy goes for a big tech interview they're still going to ask him how to invert a binary tree The industry's hiring process is so messed up that this is completely believable. "We've decided to prioritize other candidates, as you are strong in the fundamentals but lack the kind of experience in Vue that we're looking for."

By now there is more than one story how some open source developer wasn't hired because their skills with the project they created was not sufficient for the job.

I go back and forth on my opinion for this one. You wouldn’t necessarily want a mechanic or engineer to drive a race car, for example.

Re: TypeScript types can run DOOM [video]

#116

One of the top comments in the video: > If this guy goes for a big tech interview they're still going to ask him how to invert a binary tree The industry's hiring process is so messed up that this is completely believable. "We've decided to prioritize other candidates, as you are strong in the fundamentals but lack the kind of experience in Vue that we're looking for."

Yeah that’s obvious and probably good. You’re trying to make a machine that reliably adds employees to your company in a way that minimizes nepotism or corruption.

Faced with the immutable fact that the chief executive cannot watch everything, that there will be pockets within the organization where people will sell access to a $300k job, and where others will hire from their family, their tribe, or so on: you make a system that is meant to prove some minimum standard while constraining your interviewers.

One thing that is not immediately obvious is that the Big Tech hiring process is to constrain your hiring team in who they bring on.

Startup executives are close to the road so they can tell if the rubber’s good much more easily.

The hiring process is designed around the constraint of executive attention. As are most things in firms.

Re: TypeScript types can run DOOM [video]

#117
post #109

Earlier quoted context omitted.

By now there is more than one story how some open source developer wasn't hired because their skills with the project they created was not sufficient for the job.

I go back and forth on my opinion for this one. You wouldn’t necessarily want a mechanic or engineer to drive a race car, for example.

[deleted]

Re: TypeScript types can run DOOM [video]

#119

One of the top comments in the video: > If this guy goes for a big tech interview they're still going to ask him how to invert a binary tree The industry's hiring process is so messed up that this is completely believable. "We've decided to prioritize other candidates, as you are strong in the fundamentals but lack the kind of experience in Vue that we're looking for."

Reminds me of https://aphyr.com/posts/342-typing-the-technical-interview

Re: TypeScript types can run DOOM [video]

#120
post #113

Earlier quoted context omitted.

There are valid use cases for any (such as type constraints). Playground with example here: https://tinyurl.com/5ahs366a

Seems to also work without any: type Values > = T[keyof T]

Sure, there's many other ways to type it, but none adds any kind of additional safety or strictness over Record which was my point that `any` is the correct type in many cases, except when it widens a type.

But in my case it's not widening anything, in Record, B can already be `any`thing.

People tend to see it as an unsafe escape hatch (which is how it is abused), but it's just a set of all possible types.

Post reply on HN