- 0 Posts
- 8 Comments
Use typescript if you’re paranoid about this
This is fair enough from an idealistic view. In practice, you don’t want your entire website to shit itself because of a potentially insignificant error.
To start off… Using arithmetic operators on strings in combination with integers is a pure skill issue. Let’s disregard this.
If you were to use + where one part is a string, it’s natural to assume a string appending is desired since + is commonly used as a function for this. On the other hand, - is never used for any string operation. Therefore, it’s safe to assume that it relates to actual artihmetics and any strings should therefore be converted to numerical values.
This is an issue with untyped languages. If you don’t like it, use typescript. End of story.
capybara@lemm.eeto
Selfhosted@lemmy.world•Tools to migrate from Plex to Jellyfin?English
1·10 months agoYou simply expose jellyfin to the internet like you would with any other service. Why did you think it specifically wouldn’t work over the internet for jellyfin?
capybara@lemm.eeto
Selfhosted@lemmy.world•Tools to migrate from Plex to Jellyfin?English
1·10 months agoThe entire point of jellyfin is being able to remotely access media (with an good interface and functionality). What do you mean by remote access?
capybara@lemm.eeto
Privacy@lemmy.ml•Apple pulled end-to-end encrypted backups in the UK after request for backdoorEnglish
7·11 months agoWasn’t it something more similar to “saying that you don’t care about privacy because you have nothing to hide is like saying that you don’t care about free speech because you have nothing to say”?

Fair enough. This is why people prefer typescript