zlacker

[return to "Tell HN: I write and ship code ~20–50x faster than I did 5 years ago"]
1. voidUp+gPj[view] [source] 2026-01-06 14:59:56
>>EGreg+(OP)
Out of interest, how did you arrive at the 20-50x speedup numbers?
◧◩
2. EGreg+U7k[view] [source] 2026-01-06 16:15:07
>>voidUp+gPj
Cherrypicking the most tedious parts, like boilerplate to get up and running, or porting code to other adapters (making mysqlite and postgres adapters for instance)

This was done in about 3 hours for instance: https://github.com/Qbix/Platform/tree/refactor/DbQuery/platf...

You can see the speed for yourself. Here is my first speedrun livestreamed: https://www.youtube.com/watch?v=Yg6UFyIPYNY

◧◩◪
3. stefan+brl[view] [source] 2026-01-06 21:43:41
>>EGreg+U7k
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?

[go to top]