roon ( roon@lemmy.ml ) to Programmer Humor@programming.devEnglish · 3 years agoHilariouslemmy.mlimagemessage-square6linkfedilinkarrow-up1310cross-posted to: programmerhumor@lemmy.ml
arrow-up1310imageHilariouslemmy.mlroon ( roon@lemmy.ml ) to Programmer Humor@programming.devEnglish · 3 years agomessage-square6linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarePython ( python@programming.dev ) linkfedilinkarrow-up1·3 years agoYou’re right! That’s actually a really cool point about Generator functions too, them having while(true) loops is very unproblematic :D I’m correcting myself to: function* sorry() { while(true){ yield "I'm sorry"; } }
You’re right! That’s actually a really cool point about Generator functions too, them having while(true) loops is very unproblematic :D
I’m correcting myself to:
function* sorry() { while(true){ yield "I'm sorry"; } }