1,983 karma · joined October 29, 2021
[ my public key: https://keybase.io/pxeger; my proof: https://keybase.io/pxeger/sigs/pWFo0gTe2jOWx8j82aJ_hhdt2wU97tpY-l0AzxVfZFw ]
- middle-clicking on the refresh button duplicates the
- middle-clicking on a tab closes it
- middle-clicking on the empty space after all your tabs opens a new one
Generally, try middle-clicking on things to see what happens. It’s often useful.
This is just a difference in terminology. To me, what you’re describing is exactly how a type inference algorithm works. This is also the traditional academic definition of type inference, but it sounds like you’re just using it to mean “inference of the types of variables” (which makes sense as the programmer-facing definition, to be fair, because basically all languages have type inference in other places)
> This is like saying JavaScript has type inference
JS doesn’t have type inference because it’s not statically typed, but Typescript does, and it works exactly how you described it.
The difference is, with compiled languages, the compiler needs to know the type of every expression and subexpression ahead of time, to know what code to emit.
- hire a car
- not eat regular meals
- wander around aimlessly
- walk up and down the same street many times
- own more than one of something people normally only have one of
- buy stuff in bulk
And there’s probably an argument that taking flights increases general demand for them and that most of that demand comes from people who don’t offset their CO2