News for hackers. Stuff that matters.
Re:The self-hating web developer by pests on Sunday July 19, 2015 @07:26AM (#9910837)
I love PHP. I really do. Everyone knows about its flaws in syntax, function names, argument order, and so on, but as someone who learned PHP and used only it for years certain paradigms and programming styles it uses really messed me (and I think others) up when switching languages:

- arrays are hashmaps/multi-dimensional aka one-size fits all (no need for more complicated data structures)

- everything is single-request and single-process (no lifetime management or persistent state, lower need to worry about memory leaks, no threads or processes, no real timers or async)

- copy on write

There are no comments on this comment yet.