DEV Community

Rudolf Olah
Rudolf Olah

Posted on

Type-Checking for Python and Ruby is becoming a thing

It looks like type-checking is becoming the thing to do for Python and Ruby. Prototype quickly, grow your product or service, and then start adding type-checking to ensure higher quality code and keep a competitive edge in terms of bug fixing and delivering more features.

When I was coding in Common Lisp about a decade ago, what I really enjoyed about the SBCL compiler was that it had optional types.

So you could iterate quickly with prototypes and later on add types. What I especially enjoyed though was that the type-checking was used by the Common Lisp compiler to create more optimal code.

Nice to see other languages catching on to a great idea.

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (1)

Collapse
 
jacobherrington profile image
Jacob Herrington (he/him) •

I haven't seen Sorbet in the wild yet, but the idea is interesting.

Retry later
Retry later