[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

PHP 7

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 35
Thread images: 3

File: 1459870313PHP-logo.svg.png (150KB, 2000x1060px) Image search: [Google]
1459870313PHP-logo.svg.png
150KB, 2000x1060px
What do you make of how PHP went from pajeet-tier to decent-tier after the insane massive performance boost they did? Like people were talking about going from using 20 servers to 1.

I know you could say that means PHP was just shit for a long time (I agree) and then became barely usable thanks to the speed increase. It depends on your point of view I guess.

I worked in a PHP company in my last job doing database and there were literally multiple Pajeets writing PHP and I thought it was funny and meme-tier but now I feel like I should probably make some money off this shit by writing some cheap-ass web service and put ads on it.
>>
>>57484433
For me, the problem with PHP was never speed but language semantics.

It's sloppy and inexact under the guise of being easy. It's second only to shell scripts.
>>
>>57484433
>to decent-tier
nah, >>57484523 has it right and as long most standard functions aren't properly imported from modules, it's still bad.
>>
>>57484827
>>57484523
What would you prefer over PHP then?
>>
Keep bashing php guys, soon experienced php developers like myself will charge ridiculous amounts of cash per hour because intelligent millennials are too busy shitting out copypasted Pajeet.js on rails apps for peanuts.
>>
keep dreaming

meanwhile Python 2.7+PyPy code will be two times shorter and two times more maintainable and many times faster than PHP7
>>
>>57484433
I probably would enjoy php if not for the fucking dolar.
>>
>>57485060
>using obsolete 2.7 instead of python 3
PHP sucks, js sucks, python 2->3 kills my will to use it.
Which language should be used for backend?
>>
Is anyone actually working as a 'core php developer' (aka not writing based on some framework)?
>>
>>57485112
typescript if you like scripting languages. C# / java otherwise.
>>
>>57485118
Maintaining old php code base that was started 2006. It does not depend on any framework.
Not really sure why you would need framework with php anyway.
>>
>>57485112
C++
>>
>>57484921
P Y T H O N
Y
T
H
O
N
>>
>>57484921
Perl? ASP? Java? Python?
>>
File: vomit.jpg (46KB, 312x312px) Image search: [Google]
vomit.jpg
46KB, 312x312px
>>57485268
>except perl
>>
>>57484948
>copypasted Pajeet.js
heh
>>
>>57484433
Kek, it's still terrible. Improving a hilariously slow interpreter's speed is not an impressive act, and the language itself is still as piss-poor as ever. Fix that syntax, cunt.

>>57484921
Anything, quite honestly. DeviousYarn.

>>57485198
This also has speed issues, but it's a reasonably nice language. You'll understand that interpreter speed matters when you have to run your code on your own server and you have more than 30 users on your site.
>>
I never had a problem with PHP and I've been using it since forever.
It's deliciously easy.
>>
>>57485060
proof that its faster?
>>
I like PHP because it's stupid easy to write and makes me good money. PHP7 was genuinely a fantastic upgrade, and I just wish the PHP internals team would have the balls to actually deprecate some of the trailing bullshit still in the language ("hurr haystack needle or needle haystack lawl").

But regardless, the performance boost was genuinely amazing, and the language is finally getting the features people have been begging for years to get. I wouldn't necessarily use it on a personal project or something I really care about, but at least it is getting better.
>>
>>57485060
Python is one of the slowest languages, PHP7 is miles ahead of it. Do you even work in the industry?
>>
>>57486224
I think he's a stupid fuck from /wdg/, just ignore him like we ignore all pajeet-tier coders
>>
>>57484433
East Europe Pajeet here. Never understood problems with a PHP if you working with a good frameworks like: Symfony, Laravel, YII2 . I guess main complaints from people that used it in early 2000's. Then yeah, it was pretty shitty. And now majority of complaints from people that don't have any experience in actually software development. It has problems. But for web development it's good choice. Than some obscure shit that noone can maintain. My complain in PHP it's a fucking CMS's. All of them.
>>
>>57486264
I think most anons ITT have explained why they hate(d) PHP, I hated it for the very same reason, the FUCKTARD syntax. Other than that, I think it's okay and I might actually try and see if those frameworks work out okay for me and if I can make money by jewing a little web service.
>>
Everything php is used for C can do better.
>>
>>57486410
>FUCKTARD syntax
If you mean names of standard library functions, then yes. Otherwise shit unreadable code happens only if your team doesn't following code styling guidelines.
>>
>>57485883
>>57486224

https://blog.famzah.net/2016/02/09/cpp-vs-python-vs-perl-vs-php-performance-benchmark-2016/
>>
>>57485118
I used to do that, but then I switched to nodejs :^)

much more money
>>
In the end we're just arguing about how you write CGI. C can do it, perl can do it, python can do it, java can do it. PHP saw adoption because it was easy as fuck for retards to shit out applications, not because of any magical reason. PHP still has a lot of warts but like any language they can be worked around.
>>
>>57486523
M8, not sure what point you were making, but PHP7 fucked Python's shit up pretty badly there.
>>
>>57486622
with PyPy its third fastest
>>
File: 1466336378747.png (64KB, 625x626px) Image search: [Google]
1466336378747.png
64KB, 625x626px
>>57486481
>>
>>57484921
Many other things. At best, something statically typed.

>>57485308
>>57485864
>DeviousYarn.
Stop memeing your garbage language here that most likely hasn't Unicode working yet. Perl is far superior.
>>
>>57484921
Python+Django, Ruby+RubyOnRails, Java+Spring, C#+ASP.NET
>>
>>57485112
Java/C# if you take it seriously and want employment.
Thread posts: 35
Thread images: 3


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.