alokir

joined 2 years ago
[–] alokir@lemmy.world 33 points 2 years ago (3 children)

I like to "annoy" people whith small "things" that are insignificant "alone" but add up over "time". Kind of like "overusing" quotation marks in "posts" and comments.

[–] alokir@lemmy.world 13 points 2 years ago

that's not even a joke, I'm using intellij community as a merge and diff tool exclusively. it doesn't support the language I want but even without it it's better then anything else.

[–] alokir@lemmy.world 8 points 2 years ago

A ban usually means that the account is closed forever, while a suspension is temporary.

But even if it's not, brands like to distinguish themselves by using different lingo to their competitors. For example, even though Lemmy ~~is a Reddit clone~~ is heavily inspired by Reddit, they use different words like community instead of sublemmy.

[–] alokir@lemmy.world 3 points 2 years ago

The title is misleading as the event will be hosted by Nordic Sun Records, not "Hungary".

According to the article the Budapest police stated that they will monitor the concert and step in if try to start anything.

[–] alokir@lemmy.world 17 points 2 years ago (2 children)

That's already happening as Western taxpayers understandably don't want to subsidize Orbán's corruption. But it seems to have the opposite effect of pulling Hungary back to the EU's side.

[–] alokir@lemmy.world 12 points 2 years ago* (last edited 2 years ago) (1 children)

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 2 years 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 2 years ago (1 children)

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 2 years ago (2 children)

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 2 years ago (6 children)

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 8 points 2 years ago (1 children)

I didn't even know the meaning of those numbers and became a neonazi anyway /s

[–] alokir@lemmy.world 14 points 2 years 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.

view more: ‹ prev next ›