|
|
|
|
|
by rixed
12 days ago
|
|
One hour ago, while looking casually at a package.json, I saw this and was horrified: rm -rf pkg/snippets & rmdir pkg\\snippets /s /q & wasm-pack build --target bundler && node prepare-web.js
Looked like a strange mix of unix shell and msdos batch that would, on my box, try to rmdir "/s" and "/q". I asked Claude about this, and he replied something like "Yes that's a standard and clever hack to delete a directory that works both on linux and windows!".Poor Claude has been trained on so much awful human code that it required several prompts for it to admit that there was indeed a problem. The industry is the process by which convenient crap like this gets standardized. |
|