My homeoffice setup is right next to a window, so it’s too bright for dark mode during the summer. So I work in light mode from about April-September and in dark mode for the rest of the year
My homeoffice setup is right next to a window, so it’s too bright for dark mode during the summer. So I work in light mode from about April-September and in dark mode for the rest of the year
JS is absolute chaos programming and I love that way too much. You can just feel all the caffeine ingested by the guy who had to pull long nights to ship JS within 10 days. That’s exactly the vibe I’m going for with my code.
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"; } }
I’ll do you one better
function* sorry() { yield "I'm sorry"; }
Call sorry.next().value as many times as you need to baby, hell you can even use it in a for-of loop because Generator functions are Iterable. I fucking love JavaScript
Related book recommendation!!
Kil’n People by David Brin - it’s a futuristic Murder Mystery Novel about a society where people copy their consciousnesses to temporary clay clones to do mundane tasks for them. Got some really interesting discussions about what constitutes personhood!