When you incorrectly implement the stop condition in your recursive function.

https://programming.dev/pictrs/image/7dcd76ad-6ae4-406c-b2a0-b62eb3dd9c20.mp4

cross-posted from: https://programming.dev/post/108936

4 points · 4 comments · view on lemmy.world

4 Comments

nekomusumeninaritai@lemmy.blahaj.zone · 2 pts · 3y (2 replies)

You've gotta repost that as a gif (it didn't show up in browser for me but managed to watch it on the link). It was an awesome scene. I wish that was what stack overflow looked like. edit:ip→up

DonjonMaister@programming.dev · 0 pts · 3y (1 reply)

Thank you for the advice. Unfortunately I couldn't upload a .gif version; the website throws the following error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data. I image that this could be the result of a file being too big (the .gif version is 5.27MB). So at the end I decided to upload the .mp4 version (799 KB).

nekomusumeninaritai@lemmy.blahaj.zone · 1 pts · 3y

Yeah. Sorry. I figured it was possible that you were using desktop or something and maybe you'd just not realized it wasn't visible on mobile