General question on subroutines

Maybe a better question for Office Hours, but thought I’d start here. What’s the best way to think about when and how to create a subroutine? I’ve gotten through about 30 days and sometimes still need the hints to figure out how to structure the subroutine (or that I should even apply one).

Do any seasoned programmers have recommendations on how to think about building subroutines? Anything in particular you’re looking for? Are you always looking for ways to build a subroutine for the work you’re doing?

Hey pistachiojh,

We tried to answer your question in Replit 101 Coding Helpline just now, the link to the video is at Replit 101 Coding Helpline - YouTube