Non-deterministic Dependency Resolution
-
@polygeekery said in Non-deterministic Dependency Resolution:
That is a thing?
fist-fucking? most definitely
-
@the_quiet_one said in Non-deterministic Dependency Resolution:
@anotherusername you are correct on this point. It's not Skittles but at least better than the awful taste of underground mole people from the depths which it was it was plucked. Honey helps too.
You won't want them to taste like Skittles anymore.
Peeling them helps too, by the way. They shouldn't taste like dirt.
-
@anotherusername said in Non-deterministic Dependency Resolution:
Peeling them helps too, by the way. They shouldn't taste like dirt.
I don't peel carrots (but do wash them): they don't taste like dirt, they taste like carrots (i.e. delicious, unless they're nasty old ones or overcooked or something).
-
@the_quiet_one said in Non-deterministic Dependency Resolution:
@magus I would like carrots to taste like Skittles but that isn't a possibility until GMO technology reaches scary levels. As a UI guy whose landscape is now predominantly web apps I can't be too picky, so typescript it is.
The great thing about TypeScript is it does all this type-checking while you build it, then erases it all afterwards. They even call it "type erasure".
I naively assumed, before I was introduced to it, that it had some kind of "runtime" that did type-checking even after the JS was on the page, but nope. It just erases it all.
Don't get me wrong, that's still far superior to the zero type checking you get from native JS. But wacky as shit.
-
@blakeyrat said in Non-deterministic Dependency Resolution:
@the_quiet_one said in Non-deterministic Dependency Resolution:
@magus I would like carrots to taste like Skittles but that isn't a possibility until GMO technology reaches scary levels. As a UI guy whose landscape is now predominantly web apps I can't be too picky, so typescript it is.
The great thing about TypeScript is it does all this type-checking while you build it, then erases it all afterwards. They even call it "type erasure".
I naively assumed, before I was introduced to it, that it had some kind of "runtime" that did type-checking even after the JS was on the page, but nope. It just erases it all.
Don't get me wrong, that's still far superior to the zero type checking you get from native JS. But wacky as shit.
Well, it has to do that. It's not typescript's fault that browsers can't parse or run it.
-
@the_quiet_one said in Non-deterministic Dependency Resolution:
Well, it has to do that. It's not typescript's fault that browsers can't parse or run it.
Like I said, I assumed it had a "runtime". You could build a type-checking runtime in JS if you wanted, it'd add overhead but it wouldn't be too bad.
-
@blakeyrat said in Non-deterministic Dependency Resolution:
@the_quiet_one said in Non-deterministic Dependency Resolution:
Well, it has to do that. It's not typescript's fault that browsers can't parse or run it.
Like I said, I assumed it had a "runtime". You could build a type-checking runtime in JS if you wanted, it'd add overhead but it wouldn't be too bad.
Depending on how complex your JS is, I could see a lot of overhead. Reflection in JS is not cheap. I could see that as, perhaps, an option for development purposes, though.
-
@carrievs said in Non-deterministic Dependency Resolution:
@anotherusername said in Non-deterministic Dependency Resolution:
Peeling them helps too, by the way. They shouldn't taste like dirt.
I don't peel carrots (but do wash them): they don't taste like dirt, they taste like carrots (i.e. delicious, unless they're nasty old ones or overcooked or something).
I used to wash them. Then I realized that they're 50 cents/lb and it's just not worth the extra effort for the small amount that goes into the garbage when you peel them.
-
@anotherusername Who said waste had anything to do with it? It's far more effort to peel them than to hold them under the tap.
-
@blakeyrat said in Non-deterministic Dependency Resolution:
You could build a type-checking runtime in JS if you wanted, it'd add overhead but it wouldn't be too bad.
Getting it to be not too bad would depend on the compiler being able to say “Aha! I can prove that this condition is always true at this point.” and so chopping out all the code to actually check it. That (plus being able to use a native low-level datatype for things like arithmetic types most of the time) is where much of the wins of compilation tend to come from.
-
@carrievs they have grooves which collect dirt which makes them taste dirty/bitter. Usually I'd have to run the point of a knife along the grooves and make sure there's no crud left, and just peeling them is quicker.
Maybe you just get really clean carrots or something.
-
@anotherusername Clean carrots are typical in supermarkets, but I've had carrots straight out of the ground before, and scrubbing was still easier than peeling.
-
@carrievs said in Non-deterministic Dependency Resolution:
I've had carrots straight out of the ground
Those taste so much better !!!