Remote Ruby cover image

Diving Into The Deep End of Docs

Remote Ruby

00:00

The Importance of Comments in VS Code

Solar graph in VS code is a language server that uses yard docs for typing. If you add your own yard docs to your methods, it is smart enough to know when you are then using them what the types are. Just putting like a returns with a type above a method just adds so much. And then you're like, what does this method take? What does it return? The way you could just scroll to the method and there's like at returns type what the thing is done. That's it. It is not that the description has enough to be fancy. Like sometimes just knowing the type of the input and the output can save you so much time. This is my personal feeling

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app