Post

Тsфdiиg
Тsфdiиg@tsoding·
My thoughts on Static vs Dynamic Typing (Python Edition)
English
10
30
384
37K
Sergey Golovin | @sgolovin@fosstodon.org
@tsoding That's great! But ST doesn't actually work like that. It only checks if all APIs are compatible with each other. "Meta-execution" is more about model checking and theorem proving. ST, like DT, can have a lot of bugs related to user-generated and other side-effects
English
0
0
0
699
96
96@gboncoffee·
@tsoding That's completely true, but dynamic typing is very handy sometimes. I think it's more about choosing the right tool for the job.
English
0
0
0
1.1K
Valentin Ignatev
Valentin Ignatev@valigo·
@tsoding They have optional static typing now. But the problem is that it's, well, optional :)
English
0
0
0
501
papi
papi@nullptrsorcerer·
@tsoding It does not go through an “meta execute” your code in a static language. It checks your code syntactically and then makes sure everything links correctly (the symbols). Static compiled langue’s still have runtime errors and crashes
English
0
0
0
194
Mike Riemer Jr
Mike Riemer Jr@mikeriemerJr·
@tsoding I write a lot of Python and C# day-to-day. I always choose C# first. I think there is a time and place for Python, but the advantages in using C# in Visual Studio or Rider usually out weight the benefits of any dynamic language.
English
0
0
0
142
Mike Riemer Jr
Mike Riemer Jr@mikeriemerJr·
@tsoding There are many advantages to statically typed languages. The shift of JavaScript to TypeScript shines a light. STL add overhead but have ecosystems with better tooling that compensate for the cost the "boiler plate" needed. Most statically types languages have a dynamic runtime.
English
0
0
0
138
VK
VK@vldmr4ik·
@tsoding Hm…. Try to discover how many bugs have you fixed which causing wrong ST or business logic. It’s really interesting exercise for brain. And in my opinion using ST everywhere is a wrong way the same as OOP 😼
English
0
0
0
94
Paylaş