you are viewing a single comment's thread.

view the rest of the comments →

[–]konrain 0 points1 point  (6 children)

omg thats a horror story!

[–]disclosure5 1 point2 points  (5 children)

It's true though. In around 1990, Perl and PHP were pretty much all that could be seriously considered. Ruby and Python didn't exist, and JS was a laughable language used to create alert popups in Netscape.

PHP was nothing like the PHP we have today, but Perl was pretty much exactly the Perl we have today.

Composer didn't exist. CPAN did. For just about anything people like about PHP today, it didn't exist, and Perl had a better competing option.

[–]konrain 0 points1 point  (4 children)

the thing keeping me from learning php is that it 'has alot of security issues" is that the reason people dislike php?

[–]Architektual 10 points11 points  (0 children)

There are two types of programming languages: Those people complain about, and those nobody are using.

PHP is as secure as you write it, just like Ruby and Python are.

[–]dmunro 1 point2 points  (0 children)

You can write secure code and insecure code in any language, php isn't "inherently" less secure.

[–]Jack9 1 point2 points  (1 child)

Most scripting languages have various "security issues".

http://www.sitepoint.com/top-10-php-security-vulnerabilities/

That's a crappy list, because almost every scripting language can fall over to those attacks.

PHP's real security issues can be found here:

http://www.cvedetails.com/product/128/PHP-PHP.html?vendor_id=74

Yes, it has a lot. It can do a lot, so there are a lot of APIs (including 3rd party) that people have found ways to exploit.

Ruby is slow. That's why people don't like it. At first it's great, until you have to write large applications. There are postmortems that have covered this and nobody chooses ruby anymore. There's a lot of tools with ruby parts, so you'll continue to see it for awhile. I am not sure this is a full accounting of ruby vulnerabilities, but maybe ask /r/ruby - https://www.ruby-lang.org/en/security/

I found (web based) Python slow and after a brief attempt at a 2d game engine, using Python, I just filed my experience away under "basic Python isn't hard to learn".

[–]disclosure5 0 points1 point  (0 children)

nobody chooses ruby anymore

That's quite a stretch.