339 points by jakeasmith 4 days ago | 106 comments | View on ycombinator
Sander_Marechal 3 days ago |
jakeasmith 4 days ago |
swiftcoder 3 days ago |
This is top-tier. left-pad levels of "we should just implement trivial functions in our own codebases"
(I do not mean that as a knock on the author - it solved his use case just fine. Everyone who took a dependency on it afterward though...)
amhoab 3 days ago |
laruss5 3 days ago |
zackmorris 3 days ago |
It's still my favorite language though, since it comes closest to shell language but with C-style syntax (other than maybe Perl, which is a write-only language and hard to read, which unfortunately inspired Ruby to inherit some anti-patterns).
I often dream about writing a modern hacker language that combines the best of everything like functional programming, higher-order methods, const by default, parallelism, sync blocking rather than async nonblocking concurrency, etc. It would also undo the pass-by-reference footguns added by PHP 5+ and return to the pass-by-value copy-on-write style of arrays. That's why I really can't endorse attempts like Hack which just introduce a new standard with its own problems.
The insight being that LLMs work around the limitations of mainstream languages and frameworks, rather than challenging assumptions from first principles and building better foundations.
AltruisticGapHN 3 days ago |
I rarely see people use that feature yet tons of repos on Github are essentially dead.
hk__2 3 days ago |
edg5000 3 days ago |
bdcravens 3 days ago |
staplung 3 days ago |
alpha_trion 3 days ago |
tcdent 3 days ago |
algoth1 3 days ago |
samayashar 3 days ago |
This article will be very useful for people who might shift back to older PHP versions for compatibility and face it.
Codefrontier 3 days ago |
crumb1e 3 days ago |
undefined 3 days ago |
KellyCriterion 3 days ago |
racl101 3 days ago |
ivo93 3 days ago |
iliasaberkane 3 days ago |
yaniv_codpal 3 days ago |
ethanprk 3 days ago |
j4kp07 3 days ago |
shevy-java 3 days ago |
gitowiec 3 days ago |