• 1 Post
  • 54 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






  • MrLuemasG@lemmy.worldtoMemes@lemmy.mlThe Lemmy experience
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    10 months ago

    My favorite response was somebody saying small towns in America should still have infrastructure and trains to connect them (which I agree with in theory) because every small town in the UK has them without even realizing there are small towns in the US that could fit the entirety of the UK between them and the nearest other town or city.