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

> brain the size of a galaxy

Wow, aren't you humble.


It's a quote from Marvin in Hitchhiker's Guide to the Galaxy.

Are you sure the counter is not broken?


Yes, it’s running on a Woltlab Burning Board since forever.


It looks like the developer was so hooked on the idea of making it minimalistic, he forgot to make it a language-learning app. So it's a blob with a backstory. Design with no substance.


Maybe you'll appreciate having it pointed out to you: you should work on your usage of "where" vs "were".


I would actually :-)


XD XD


For the JS developers: similar useful behavior (and more!) can be implemented in JS using the wonderful Effection library.

https://effection-www.deno.dev/


I like the idea of using generators everywhere, since you have more control over how things execute. At the same time, your codes gets "infected" with unexpected types. In reality, this is very similar to async/await and promises, but those are used broadly in the ecosystem.


Source?


Can you share the link?


https://911realtime.org/

TIL it works everyday!


Aren't these bugs that could be "simply" reported and fixed? Or maybe those would get a label "not a bug" attached by the TS creators for some reason?


Both are by design. Array covariance is a common design mistake in OOP languages, which the designer of TypeScript had already done for C# but there they at least check it at runtime. And the latter was declared not-a-bug already IIRC.

TypeScript designers insist they're ok with it being unsound even on the strictest settings. Which I'd be ok with if the remaining type errors were detected at runtime, but they also insist they don't want the type system to add any runtime semantics.


"By design", for me, doesn't say that it can't be changed — maybe the design was wrong, after all. Would it be a major hurdle or create some problems if fixed today?


I don't claim that the problem does not exist, but I haven't really felt it during my daily usage with relatives.


I do notice it but then again my phone is quite old at this point.


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

Search: