Post

LLMs absolutely will not use any of JS's Set methods (intersection, union, difference, etc). They've been baseline for 2 years now. Every LLM insists on nested loops and will try to reset your code with them every chance it gets.

Keith Henry@k17.dev

AI does not understand JS's shitty Infinity constant. In most languages ÷0 is an error, but in JS 100/0 === 1/0, and sorts higher than any number, and isNaN(1/0) is false; it's stupid. But LLMs don't get this at all, and keep autocorrecting it in even dumber ways.

0 reposts0 likes