While loop vs do while Subtle differences are difficult to explain, this picture does quite a good job though
@JavaScriptCoff1 This is a great picture representing while loops and do loops! Thank you for sharing.
@JavaScriptCoff1 I need more posts like this. Where can I find them...?
@JavaScriptCoff1 I can't believe how easily I understood this from the cartoon 😭 you're onto something with cartoon examples lol
@JavaScriptCoff1 @JennyAstronauta My favorite example is monopoly and rolling dice. You MUST roll at least once (do), and (while) you get doubles less than 3 times in a row, you keep rolling
@JavaScriptCoff1 @ThePracticalDev This is honestly the perfect illustration for this topic! I feel like an illustration would also be perfect for recursion
@JavaScriptCoff1 @ThePracticalDev That’s True!
@JavaScriptCoff1 Ouch my brain..
@JavaScriptCoff1 Do While was popular in VB. I never used them. That's how I avoided confusion. 😁
@JavaScriptCoff1 Are you saying do...while is for stupid people??😂 Just joking though