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.

Rules0. Keep it legal

  1. Keep it civil and SFW
  2. Keep it safe for members of marginalised groups

founded 2 years ago
MODERATORS
 

There is a discussion on Hacker News, but feel free to comment here as well.

you are viewing a single comment's thread
view the rest of the comments

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.