News for hackers. Stuff that matters.
Re:An Introduction to Metaprogramming in Ruby by quechimba on Friday July 28, 2023 @12:34PM (#36909434)
I have used Sorbet in my web framework. The method signatures can be tedious to type out sometimes, but it helps a lot when refactoring code. I feel more confident that my changes will work. It's not as flexible as TypeScript, but it's pretty good and has saved me from mistakes many times. The language server helps a lot with autocompletion so I don't have to keep every little detail in my head all the time. Sometimes I have to structure the code a little bit different just to make Sorbet happy which is annoying, but I've also been able to replace huge parts of the codebase quite easily.

There are no comments on this comment yet.