News for hackers. Stuff that matters.
Re:Poll: What's Your Most Disliked Programming Language? by pepijndevos on Saturday March 24, 2012 @11:21AM (#3749564)
I once found a login form where 1e3 was a correct password, when yours was 1000. I'm still not sure if it eval'd your password, but it was PHP for sure.
Re:Poll: What's Your Most Disliked Programming Language? by wizzard on Saturday March 24, 2012 @03:48PM (#3750495)
What does this have to do with faults of the language? I can think of a lot of stupid things to do in any language; it doesn't mean the language is the problem.
Re:Poll: What's Your Most Disliked Programming Language? by scott_w on Sunday March 25, 2012 @03:39AM (#3751985)
The weak typing of PHP doesn't make life easier for the programmer in this instance.

For example, this specific problem is harder to create in stronger-typed languages, since you would need to explicitly cast from an integer to a string.

Re:Poll: What's Your Most Disliked Programming Language? by rane on Saturday March 24, 2012 @09:34PM (#3751407)
It does if the language itself makes it easier for you to make those kind of mistakes.
Re:Poll: What's Your Most Disliked Programming Language? by jonursenbach on Sunday March 25, 2012 @03:24AM (#3751962)
It's easy to make any kind of mistake in any language. Singling PHP out for it because some people are shitty programmers is BS, IMHO. Not all of us are asshats who have no idea what we're doing.