News for hackers. Stuff that matters.
Re:Language Pragmatics Engineering by drpixie on Thursday June 01, 2023 @07:19AM (#36149696)
> Dynamic types mean the constraints are known later.

Don't you mean, constraints are found when the program throws an unexpected exception and leaves you with a largely meaningless stack dump :)

I'd rather have the system tell me "you can't do that" much earlier - at compile time, not run time.

I use python quite a bit, but hate the thought of all those never-exercised control paths, which only occur in the most unusual circumstances - and I know silly problems will show up when those paths do get executed :(

Re:Language Pragmatics Engineering by BulgarianIdiot on Thursday June 01, 2023 @07:53AM (#36149927)
We're discussing performance. Dynamic types do not mean no type errors while you write code. It means the types can be variant at runtime.
Re:Language Pragmatics Engineering by lolinder on Thursday June 01, 2023 @03:22PM (#36156073)
You latched on to the performance question, but the paragraph you were responding to was much broader. It's reasonable for someone to think you were actually responding to the full paragraph and not one phrase.