4 ms·
Does Ruby still not allow type annotations in the same file as your code? Last time I checked, you had to put them in separate .rbs files. That’s a dealbreaker
by goodoldneon 4y ago
Does Ruby still not allow type annotations in the same file as your code? Last time I checked, you had to put them in separate .rbs files. That’s a dealbreaker for me
- ric2b 4y agoYou can with a third party library, Sorbet. It's not the nicest experience due to not being native but it works much better than you'd expect without being native.