I will not be polite and call it something else because it is truly sheer stupidity
> Jamie Zawinski is what I would call a duct-tape programmer. And I say that with a great deal of respect.
https://stackoverflow.com/questions/782511/case-preserving-substitute-in-vim Nobody in this thread understands vim. They think vim is about fancy things…
These days I run engineering at Lido and noticed something really strange. We’re working on a spreadsheet OS in the browser. It’s all JavaScript…
Autofixers in precommit are stupid because they break a fundamental rule of version control: “What you get out of it must be what you put into it” (as…
I had to teach someone about debugging today, thought I’d share my thoughts here too. What is debugging? First and foremost, debugging is fixing your…
Don’t do: text = text.split(delimiter) Instead do: const a = text.split(delimiter) That way at the end of the program you can add console.log({a, text…
You’re supposed to fix That Bug. That’s it. But the code is so ugly. Oh my gosh no wonder they wrote a bug here. I should tidy up. I’ll fix the “broken…
I got a lot of flack on my last post for suggesting piping to ls a la: ls | grep file Why? Because...
Just Use Sed
If you have a list, say of imports, where there is no semantic meaning in the ordering, alphabetize it. Alphabetizing makes it easier to find…
There’s no reason to leave code commented when checking it in, just delete it. It’s one of the most common pieces of feedback I give while reviewing…