Coding Blocks cover image

Clean Code – How to Write Amazing Functions

Coding Blocks

00:00

Using Two for a Function Name

Unit test names should be descriptive, right? Yes. One way to know if you named it well is to put two on the function name and see if it does what you think it should. And so you can listeniin thay, go really long. I mean, but it's nice because when you see that they've passed or failed, you know exactly what passed or failed without going and looking at the code.

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