3 ms·
If the code works just fine, why remove it? For small algorithms it should be good enough.
by rafark 3y ago
If the code works just fine, why remove it? For small algorithms it should be good enough.
- NotTheDr01ds 3y ago"Code working" isn't necessarily black-and-white. For a new user (the one asking the question), the code may appear to solve the problem, but may have corner-cases or even security risks. That's entirely possible with user-generated code as well, of course, but GPT/AI allows it to be produced at a much higher rate, with the person who posted the answer often not being capable of (or not caring to) validate or correct it.
- Kuinox 3y agoYes, and SO already have plentiful of sample code that appear to solve the problem, but have huge flaws.