12-14-2021, 10:40 PM
(12-14-2021, 09:49 AM)ragreenburg Wrote: That list really fills like someone is just complaining because Python isn't C (or insert language here). That would be like me complaining that C doesn't have try-except and or lambda functions or that it takes longer to make something with C. Also, a lot of people complain about Python being slow, and it is compared to C but it is also fast enough for the user to not even notice so it really doesn't matter a lot of the time. If you make something that runs a million times a day then it is worth sinking the time to make it with something faster but if not then with Python you develop it faster and is easier to maintain which is what most companies care about.
The owner of that site is a big fan of C (and Perl), so that might make sense.
It's true that it takes quite a long time to make stuff in C.
But then again, there are enough people out there that choose Node.js over PHP for the same reason, but I think it really depends on who you're asking.
Sure, it takes workarounds to make realtime apps in PHP, but I can make the same app way quicker in PHP than I can in Node.js.
Because Node's asyncronization might seem fancy on paper, but 99% of the time you won't need that and so it's just standing in my way all the time.
So I end up wrapping everything I make in Node into "promise.then.then.then.then...", which I don't have to do at all in PHP, since that one always executes everything in the intended order.
If I don't wrap everything into promises, thought process always goes like "WTF, I just solved this one bug only to create 5 new bugs!?" (refresh) "Oh, it got fixed by itself." (refresh) "NOW THERE ARE 20 NEW BUGS!?".
母語は日本語ですが、英語も喋れます(ry