capybara

joined 1 year ago
[–] capybara@lemm.ee 26 points 10 months ago

She won an award for her entrepreneurship in 2018 from a well established economics newspaper. Says a lot about capitalism

[–] capybara@lemm.ee 5 points 10 months ago

Not surprising. Denmark is Scandinavia's biggest dick rider of USA

[–] capybara@lemm.ee 2 points 10 months ago

What if the documentation is wrong?

[–] capybara@lemm.ee 1 points 10 months ago

Mutahar is a fucking moron.

[–] capybara@lemm.ee 1 points 10 months ago

Fair enough. This is why people prefer typescript

[–] capybara@lemm.ee -2 points 10 months ago (1 children)

Use typescript

[–] capybara@lemm.ee -4 points 10 months ago

Use typescript

[–] capybara@lemm.ee -2 points 10 months ago

Use typescript if you're paranoid about this

[–] capybara@lemm.ee 6 points 10 months ago (9 children)

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.

[–] capybara@lemm.ee 2 points 10 months ago

Depends on the resources required and how much benefit it brings to the average user.

[–] capybara@lemm.ee 14 points 10 months ago

discord.com/app

[–] capybara@lemm.ee 32 points 10 months ago (12 children)

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.

view more: next ›