News for hackers. Stuff that matters.
Re:Are dynamic languages going to replace static languages? ... by arcturus17 on Wednesday August 04, 2021 @05:08AM (#28058839)
You can annotate types in Python and Typescript.

Before that large companies like Google got around it by annotating in the comments. It may be an inferior solution but huge codebases serving hundreds of millions of users have worked this way.

Re:Are dynamic languages going to replace static languages? ... by gefhfff on Wednesday August 04, 2021 @05:24AM (#28058956)
Huge code bases serving hundreds of millions have been written in wasm, so...? Bad argument
Re:Are dynamic languages going to replace static languages? ... by arcturus17 on Wednesday August 04, 2021 @05:29AM (#28058990)
There was no argument, the commenter was just asking “how”.