Hacker Newsnew | past | comments | ask | show | jobs | submit | maleldil's commentslogin

On 10 years old hardware?

You can achieve this with structural subtyping, such as Go interfaces and Python protocols. Whether that is desirable is a different question.

Oh, it's known. It just has an incredibly negative reputation on this site.

I kinda expected.. just hesitated to point it out.

> but pyright will not (because it infers the types of unannotated collections as having Any)

This is incorrect. pyright will infer the type of x as list[Unknown].


Unknown has the exact same type system semantics as Any.

Unknown is a pyright specific term for inferred Any that is used as the basis for enabling additional diagnostics prohibiting gradual typing.

Notably, this is quite different from TypeScript’s unknown, which is type safe.


This was confusing me, thanks.

Which only means they can mimic the output of a human. So does a p-zombie. It doesn't make them human.


You can always convert from Polars to Pandas. Plotnine will do it automatically for you, even.


Accessibility. It's both a very common abbreviation and very easy to search for.


You have absolutely no clue what you're talking about, mate. .NET is like Java. It's behind critical systems you haven't heard of because they're not flashy or glamorous, so you have no idea how prevalent they actually are.

The other posters are right. Most .NET projects today are backends, where it's used similarly to how Java is used.


The AI should've told him that you can have a local gitignore (.git/info/exclude)


Maybe they say it as an "ew" diphthong instead? As an ESL, that makes sense to me.


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

Search: