3 ms·
People also "Hate" Basic, but it was the gateway drug for almost everyone who discovered computers in the 80's It seems really weird to Hate something you can
by nogabebop23 7y ago
People also "Hate" Basic, but it was the gateway drug for almost everyone who discovered computers in the 80's
It seems really weird to Hate something you can easily make irrelevant to your life - maybe people mean they hate maintenance programming on old, cruddy code, of which there would be a lot of PHP - that's not really on the language though...
- TeMPOraL 7y agoLike a lot of things in our industry, I believe hate for programming languages is just another fashion. Few people have some actual reasons or experiences, everyone else is just mimicking. In case of BASIC, I think the source of the hate is mostly Dijkstra saying things like: "It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration." or: "teaching of BASIC should be rated as a criminal offence: it mutilates the mind beyond recovery." Dijkstra is one of the ancient saints of computing, so people read this as gospel. PHP is a more complex case. The language had (last I checked, which was years ago) legitimate issues. But on top of that, because of the LAMP stack, it enabled easy web development, which opened the floodgates for novices. Suddenly, you had an influx of people with no experience and little understanding, all writing production code and - more importantly - tutorials for each other. This was self-reinforcing, so there was a period in which your average PHP code base was a steaming pile of garbage, and educational resources Google led you to weren't any better. That time is, in my experience, the source of PHP hate. Why no hate for Ruby or Python or other stacks? I think because they've managed to rein in their respective communities better (they actually had communities, not mobs), and perhaps also because PHP was where most mistakes of backend development were made - so newer stacks had the benefit of hindsight. You can see the same pattern repeating now with hate of JavaScript. One of the big reasons is, again, the flood of inexperienced novices producing garbage code and tutorials for each other, creating noise that drowns out both good libraries and good educational material. All the mistakes of frontend development are being made as we speak. (The other big source of hate is the fear of the mob expanding to encompass other areas than web development. In the LAMP stack days, no one really tried to code PHP for microcontrollers. But attempts at running JavaScript or even Node itself on microcontrollers abound. Or, see how Electron is sucking out not just your computing resources, but also the proverbial oxygen from the native app development room.)
- klyrs 7y ago> or: "teaching of BASIC should be rated as a criminal offence: it mutilates the mind beyond recovery." > Dijkstra is one of the ancient saints of computing, so people read this as gospel. Can confirm. Learned BASIC (a very limited subset) at age 7. GOTO was the second concept I learned after PRINT. Have not stopped using either and kinda wish Python had a goto (except that I've worked through what that would actually entail; not worth it). Strict adherence to Dijkstra's hobgoblins is considered harmful.