News for hackers. Stuff that matters.
Re:Don't let dicts spoil your code by jmorenoamor on Wednesday October 09, 2024 @02:49AM (#41785191)
Dynamic languages demand self discipline, they teach you to respect runtime and think ahead of execution time.

I've written software with both typed and untyped languages and never had problems (out of the ususal) with them.

Re:Don't let dicts spoil your code by ktosobcy on Wednesday October 09, 2024 @03:52AM (#41785517)
> Dynamic languages demand self discipline, they teach you to respect runtime and think ahead of execution time.

Ah... yes... because static languages doesn't do that by forcing you to properly model everything. And as a bonus you can easily navigate between everything and not fear that you miss something while refactoring...

Re:Don't let dicts spoil your code by jrjrjrjrj on Wednesday October 09, 2024 @02:59AM (#41785241)
I would argue that dynamic languages make a compile time problem a run time problem...

So yeah that small not hit portion of code can always be a time bomb if it does not get tested...

Re:Don't let dicts spoil your code by consp on Wednesday October 09, 2024 @04:15AM (#41785630)
> So yeah that small not hit portion of code can always be a time bomb if it does not get tested...

That has nothing to do with the language, and can happen in any language.