Hacker News new | past | comments | ask | show | jobs | submit login

Come on, choose one. Either PHP is easy but insane or it is not that easy, at least compared Python? Sorry, I can't get your exact idea.



Not sure what you mean. Which part of my message is not clear to you?


The bit where you contradicted yourself in the first line.

Php is a language that traded off every bit of sanity and security for "ease of use".

There's nothing sane about unusably difficult languages.


That is not a contradiction. I am quite baffled by the way your logic works.

I saw in another comment you accuse others of using 'dirty internet tricks'. I am afraid you are either using them to the limit by yourself, or your logic is all messed up.

I will try to explain anyway. A langauge can be made difficult just for the sake of it. For example, Brainfuck. But a language can also be a bit more difficult as a result of process/methodologies that make it more secure/sane. For example the borrow checker in rust and purity in Haskell. Both of these make these languages a bit harder to use than usual.

What Php does it the opposite. Examples are things like "10"=="0x0a" being true and Php arrays being a mashup of a number of different data structures, and include/require functions that provide zero namespacing, register globals, magic_quotes etc etc....Now some of these are removed, I know, so please don't come back with that. I am mostly pointing towards one of the founding principle of the language..




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: