this post was submitted on 02 Aug 2023
2 points (75.0% liked)
Hacker News
4123 readers
2 users here now
This community serves to share top posts on Hacker News with the wider fediverse.
Rules
0. Keep it legal
- Keep it civil and SFW
- Keep it safe for members of marginalised groups
founded 2 years ago
MODERATORS
Python, much like JavaScript, has tools and options that can help make it much easier to use. Type hints for instance. Type hints don't offer quite the same safety as strongly typed languages but they do help a lot.
The problem is getting inexperienced devs to use them. Without them it doesn't take long for the project to turn into a giant pile of dynamically typed, magic string filled spaghetti that is nearly indecipherable. When you don't have a compiler that catches glaring errors, it's a lot easier for those errors to make it into production undetected.