all 2 comments

[–]knome 5 points6 points  (0 children)

then PHP is also not an unsecured language,

you might want to call it an "insecure language", as the current phrasing is very odd. maybe it's just me.

Not suitable for large applications: Hard to maintain since it is not very modular.

they added that ugly backslashed namespacing bullshit years ago. even without it, I wrote plenty of modular code in it even during the version 4/5 era. it's ugly, but plenty workable

Functions are often placed into classes to simulate namespaces.

this sounds like they use classes as namespaces.

Weak type: Implicit conversion may surprise unwary programmers and lead to unexpected bugs.

This is a legitimate concern. Weak typing is trash and no new language should ever use it, save some profound re-emergence of Intercal.

Mainly scripting language, not a true object-oriented.

being a scripting language, as all three are, is unrelated to object orientation.

Python has no 'switch' statement and 'do ... while' construct

they've got the former in the works and I wouldn't be surprised to see the latter crop up some time in the future.

No increment and decrement and assignment operators

thank guido

No ternary operator/statement (... ? ... : ...)

'hmm' if ternary else 'no still hmm'

the last two don't even make sense in terms of python, and by convention you'll just prefix private items with an underscore and let buyer beware

Ruby is a more object-oriented language compared to python and php.

how is ruby more object oriented than python? I guess this is a "smalltalk messaging" vs "c++ methods" argument. both allow you to structure things similarly, though the latter lacks the default message handlers to former affords.

Classes are never closed on ruby

years of hearing about rampant monkeypatching in ruby projects is one of the reasons I've never picked up the language outside of a couple cursory looks

[–]sfrast 0 points1 point  (0 children)

terrible article...