• 0 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: June 16th, 2023

help-circle
  • The use cases definitely do come up where you want the logic inside the loop to execute at least once. One common use case I have is validating user input in console applications. Put the instructions for validating the user’s inputs inside a do while and then run logic to validate it at the end - that way you can easily loop back to the start and re-prompt them for the user input again.



  • I’ve been maintaining a website that I built for a local nonprofit the last few days so it really hits close to home haha. I originally built it on Angular a few years ago because it’s all I knew at the time. Since then I’ve used both Vue and React which makes going back and maintaining the Angular project such a pain