sorted by: new top controversial old
[-] alokir@lemmy.world 12 points 11 months ago* (last edited 11 months ago)

I was seriously considering buying the game on release but after 8 hours of not having fun paying it I'm glad I had GamePass to try it on first.

[-] alokir@lemmy.world 4 points 11 months ago

Not necessarily, depending on your situation you can type the JS code yourself.

If the team making the JS code were using jsdoc then the Typescript compiler can recognize the comments and use it for type checking.

In some instances the compiler can infer types from JS code to do some basic validation.

Even if the external JS code is recognized as any, your own code that's using it still has types, so it's better than nothing.

[-] alokir@lemmy.world 5 points 11 months ago

Just started Dragon Age Origins, I'm still at the tutorial level but it looks like a game I'd enjoy.

[-] alokir@lemmy.world 17 points 11 months ago

Typescript is a language, Node is a platform and framework. You can use Typescript in your Node project, they're not mutually exclusive.

The way I see it Typescript is more popular than ever, almost all (popular) libraries come with types and every job offer I get they use Typescript.

And with good reason, our team recently took over a small Javascript app and there are tons of bugs that would never have existed if they were using Typescript. Things like they refactored something but missed to update a reference, or misspelled a variable name, failed to provide a required parameter to a funcrion, referenced a field that existed in another config object etc.

[-] alokir@lemmy.world 54 points 11 months ago

It's a good way to get started, and then incrementally type as much as you can, preferably everything.

Later on, or if you start a new project with TypeScript, it's a good idea to turn on noImplicitAny and only allow explicit any in very specific framework level code, unit tests or if you interface with an untyped framework.

The hassle really pays off later.

[-] alokir@lemmy.world 14 points 11 months ago

I was a huge fan of the Prince of Persia Sands of Time trilogy. Just before the third game came out I replayed the previous two games again. I managed to get the secret ending of the second game. It's un understatement that it blew my mind and that the third continued from there instead of the regular ending.

[-] alokir@lemmy.world 26 points 11 months ago

I don't either)))))))))

[-] alokir@lemmy.world 5 points 11 months ago

That's really expensive, I pay around €7 for the family plan and I live in the EU.

[-] alokir@lemmy.world 3 points 11 months ago

That's a fair point, where I live we have a point system for entry and you get the majority of your points through your grades. You also get points if you're economically disadvantaged and some other factors like certain disabilities, if I remember correctly.

It seems from the outside that a systematic change would indeed be a good idea, not something that would just help the poor but address the root cause of why people become poor in the first place.

[-] alokir@lemmy.world 25 points 11 months ago

I'm from a country with free university education and we also have student loans available.

Here's something that works for us: forget about private universities, invest in federal or state owned collages so that they can compete with the private ones.

Do a scholarship program where students can get free entry into these universities if their grades are high enough in high school, or make it dependent on an entry exam. Those that don't get in have a paid option that's still partially funded by the state or federal government.

Student loans will still be useful, not for tuition but for families who can't afford to send their kids to study in the cities where the universities are located.

[-] alokir@lemmy.world 6 points 11 months ago

Or bytecode that the runtime will interpret

[-] alokir@lemmy.world 1 points 11 months ago

Communities I usually block if I see them more than once:

  • cities/towns (outside of mine)
  • porn
  • US politics
  • sports teams
  • tankies and neonazis
  • meme communities that flood my feed
  • meme communities of other countries
  • most Reddit repost communities
  • communities that focus mostly on negativity (making fun of people, ranting, artificial drama, "haha these people are stupid" etc.)
  • countries that only post in a language I don't understand
  • communities with too many stereotypical Reddit users where I can already predict what 80% of the comments will be (commenting the same 10 jokes, only allowing the same opinions, referencing old Reddit posts etc.)
view more: ‹ prev next ›

alokir

joined 1 year ago