DEV Community


Discussion on: Why Programming Languages Are Hard

fj2c profile image
Fernando Calatayud

This problem is already solved in Ruby; take an eye to the "did_you_mean" gem:

It was created as a separate gem, but it's now part of ruby core. Any ruby syntax error comes now with a nice "did you mean..." with useful suggestions.