Or just open the thread on an mbin instance. Here's everyone that upvoted this thread.
Edit: Downvotes (reduces) are less exposed, but as you said, someone can just run a fedi instance that exposes them to everyone.
Or just open the thread on an mbin instance. Here's everyone that upvoted this thread.
Edit: Downvotes (reduces) are less exposed, but as you said, someone can just run a fedi instance that exposes them to everyone.
break and continue are just goto in disguise ... use return instead of break
An if
statement is goto in disguise. So is a return.
Some would argue having 10x 4-line functions are worse for readability and debugging than a single 40-liner, because to actually understand the code you have to jump around all over the page (another disguised goto - for your eyes!)
I can certainly symphatise. I've been pushed to temporarily take management roles, either client-facing or reporting directly to a C-level. Been encouraged by the team to take on the roles permanently.
What they don't see is how mentally exhausting it is to actually shield the team from the BS on the other side, when you genuinely care about the people in your team. Yeah, I could use the money, but I don't trust myself to not act on the homicidal thoughts that pop up once in a while during those times..
grep is your very best friend.
This. And also, in many cases, an 'adjacent' grep may help. Say you want to move the "OK" button on one screen. Searching for the string "OK" would be overwhelming as that would be all over the shop.
But you notice there's a "Setup..." button next to it. Searching for that could potentially cut down your search results by orders of magnitude. The more obscure the text, the better.
JSON5 is seriously what I feel JSON should've been. Comments, trailing commas, hex numbers, etc.