3 ms·
That code has a lot of smell IMHO :/ What's the rationale behind writing PHP as if it was JS? Unless I am mistaken it's like someone just did a transliteration
by stefanfisk 9mo ago
That code has a lot of smell IMHO :/
What's the rationale behind writing PHP as if it was JS? Unless I am mistaken it's like someone just did a transliteration from JS to PHP without even converting the JSDoc to PHPDoc.
And are there any tests for the code?
- EGreg 9mo agoI actually based it on an existing PHP adapter for MySQL. Together with the AI, I went over all the features that needed refactoring, and what would work in Postgres and Sqlite the same way, etc. There were a ton of nuances.