Hacker News new | past | comments | ask | show | jobs | submit login

It made me want to learn python.

I've been thinking about programming language development, and some weird things from the typing front.

This could be easily used to achieve unions.

But another thing that I was thinking about was the return from unsafe land.

You have some class or object that you want to do some quasi-illegal fucky bullshit to - send it off and do what you will.

But what comes back might not have the guarantee that it's still the 'shape' of the thing that you sent away.

This could be used to validate that what comes back is sane.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: