All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Addressing Flaws in Ruby's JSON Gem API

By

ezekg

9mo ago· 14 min readenOpinion

Summary

The article discusses the issues with the JSON gem API in Ruby, highlighting its problematic and sometimes dangerous APIs. The author, who is the new maintainer of the gem, emphasizes that their motivation for taking on the role was not performance optimization but addressing these API flaws. The piece also touches on the challenges of deprecations and breaking changes in software development.

Key quotes

· 3 pulled
The actual reason is that the gem has many APIs that I think aren’t very good, and some that are outright dangerous.
As a gem user, it’s easy to be annoyed at deprecations and breaking changes.
But while it occasionally happens to run into mostly cosmetic deprecations that aren’t really worth the churn they cause.
Snippet from the RSS feed
As I mentioned at the start of my Optimizing Ruby’s JSON series of posts, performance isn’t why I candidated to be the new gem’s maintainer.

You might also wanna read