[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]

>brother tries to convince me to learn php fucking lol

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: 88
Thread images: 11

>brother tries to convince me to learn php

fucking lol
>>
he is right tho.
probably 90% of /g/ is on web technologies tho.
>>
PHP is one of those languages that is created for stupid people. Any shit you can imagine is forgiven. Learn C# for a serious language that is still not for basement dwelling sperglords that dream to take the place of Linus Torvalds.
>>
>>58895526

poo in loo
>>
>>58895735

>poo in loo detected
>C# is M$'s thing so it must be good! yay M$ omg let me suck your cock some more

Java > C#

Also PHP has been significantly improved and updated to modern standards, especially 7.0+. If you want to get crazy performance then you can use HACKlang. Basically you can do anything with PHP. The only people who trash it are shills like you and edgy .js framework faggots.
>>
Php may not be the best language by design, but it has a massive userbase. If you are looking for a job and don't want to be a NEET like the rest of /g/, it is awesome. Laravel is used in big projects and this language won't fade soon. Java is great also.
>>
File: file.png (282KB, 975x771px) Image search: [Google]
file.png
282KB, 975x771px
>>58895800
Please call our dedicated call center. Susan at HR would love to offer you the position of Chief Executive Officer at Marketing. Love to see you soon!
>>
JavaScript is also terrible but look at the massive userbase... Don't judge the language by it design decisions
>>
>>58895800
>Also PHP has been significantly improved and updated to modern standards, especially 7.0+. If you want to get crazy performance then you can use HACKlang. Basically you can do anything with PHP. The only people who trash it are shills like you and edgy .js framework faggots.
This. PHP7 is very decent. /g/ doesn't know what it's talking about
>>
php is nice
>>
WEB "DEVELOPERS"
HAHAHHAHAHAHHAHAHAHAHAHHAHAHAHAHAHAHAHAHAHHAHAHAHAH
>>
>>58895834

this.
>>
>>58895834
Outdated cog detected
>>
>>58895800
>Java
HAHAHAHHAHAHAHAHHAHAHAHAHAHAHahahahahahahahahahahahahahah
>>
>>58895850

compared to C#?

lel
>>
>>58895512

What should I use that isn't PHP? Ignorant fuck here.
>>
>>58895875

Leave web "programming" and design to sjw's
>>
>>58895875
Assuming that you want to build web apps, you can use Java, Python, Ruby, C#, Golang, etc for the back end and some JS framework for the frontend. It depends on how you want your architecture to be.
>>
>>58895948

>Python, Ruby
These were the ones I had in mind, are these bad choices?
>>
>>58895965
I don't think they are bad in any way. You should decide what exactly do you want to build, and how well integrated are the tools for such job.
>>
As browsers have evolved, you don't have to do all the work on the server anymore. You can load some part of your application code on the browser and communicate using REST APIs.
>>
>>58896049
so you're the dude that's been killing my laptop with memory leaks and slow as fuck JS
>>
>>58896076
Lowering the prices on server hardware upgrades is the future
>>
>>58895948
Use elm for front end
>>
>>58896102
eh, i was already planning to upgrade to 32gb ram anyways
>>
>>58896110
Also worth mentioning Angular / React
>>
>>58896115
Vue.js -> Angular 1 and 2
>>
>>58895965
A great web framework for python is Django. For Ruby, check Ruby on Rails.
>>
>>58895512
Earning money is nice.
>>
>>58895965
They're bad for anything performance critical, but good when it's the programmer time that's important.
>>
>>58896197

I wasn't aware PHP was any better performancewise.
>>
truly the argentina is white meme of programming languages
>>
>>58896207
Interpreted languages will always run slower than compiled ones.. But again, what is the scope of the project? Is it a personal blog or something like Netflix? If that's the case, overall language performance may weight more than practicity
>>
>>58895512
php is the worst bullshit ive ever seen, this language is just a fail. better learn something useful and well designed like js instead of this steaming pile of crap. btw most php developers i met are a couple of fags
>>
>>58895834
this
>>
>>58895512

Should probably tries to learn English 1st.
>>
File: 7f5.gif (1MB, 320x240px) Image search: [Google]
7f5.gif
1MB, 320x240px
>tfw you're a php developer for a web app that is impacting 100.000+ lives a day, and are making a cushy salary

Your brother is a good one. His advice is sound. Also stay out of the market. More room for me.
>>
>>58896291

>well designed like js
kek
>>
>>58896291

>php
>fags

yeah cuz the .js crowd isn't filled with gays, feminists, trannies, and other radical left degenerates. I know a dev who built his cloud hosting service in PHP. He was a poo in loo, but smart and i'll take him over .js devs who cover their laptop in stickers
>>
>>58896382
Let me guess, you grow corn in a farm and want to make america great again, right?
>>
File: 1483609386613.png (313KB, 493x575px) Image search: [Google]
1483609386613.png
313KB, 493x575px
>anything other than python and flask

kill yourselves
>>
>>58895800
>"poo in loo"
>goes on to recommend the Pajeet S-tier language
Well memed, friend!
>>
>>58896291
You do understand that JS is client side and PHP is server side correct?
>>
>>58896514
>what is node
>>
>>58896291
>js
>well-designed

Javascript is anything BUT well-designed. The whole thing should be scrapped and remade from scratch.
>>
>>58896497

C# is the most poo and loo language, trust me, i live near microsoft...
>>
>>58896558

hipster trash
>>
>>58896197
Interpreted apps are slower to execute but much more memory efficient than native apps which hog lots of memory. In an interpreted app, it isn't the actual app that's running, it's just being interpreted.. The app that's running is the interpreter itself. So you can have a HUGE codebase and many apps/websites "running" all at the same time.

It's the very reason interpreters were invented in the first place. I don't think you could really run a modern server efficiently using native code. Maybe you could on a home server where your apps and your website was the only one on that server.
>>
>>58895800
>if you want performance don't use C use some random ass scripting language that webdevs thought was a good idea
Why? You're just processing text and doing some syscalls in PHP.

I dont get why you have to complicate it. Write some simple library for what you're gonna do and use it.
stb_sprintf is probably all you actually need for most of what you do.
>>
>>58896561
JS have its flaws but ES6 is actually not that bad. Browsers have kept up with the new stuff and also check Typescript.
>>
>He doesnt write his own web server and language in C
>>
>>58896558
It's not js ;)
>>
>>58896613
Why write own language or even web server? Just write a long-running FastCGI process in C.
>>
>>58896629
Sure you can do that but... Because security..
>>
>>58895735
>PHP created for stupid people
>recommends C#
lmfao
>>
>>58895512
PHP is great. I use it for all my scripts on linux.
>>
>>58896681
>security
I'm sick of webdevs. They make security bugs and pretend like they're impossible to avoid. It's not hard to enforce a server-client contract when you allow yourself to not accept certain http messages or you kill them early via a default route. Checking input is super well understood.

You're not more safe just because you rely on others. Unless you're just shit at your job of course. But for you to claim security is a concern maybe you should just remove yourself if you're the one causing the leaks.
>>
It is good for small contained projects. Incredible wrong choice if your project is constantly changing, it is one of the worst languages and framework in terms of maintainability
>>
File: 1484167420151.png (9KB, 819x606px) Image search: [Google]
1484167420151.png
9KB, 819x606px
>>58896326

b-brother?
>>
>>58896803
If you are using vanilla php, maybe. If you're working with a sane team using some MVVM framework (Laravel), it is not that bad. Dynamic languages all suffer from the same problem..
>>
>>58895806
Let me rephrase this, because anon here is being way too kind.

PHP is literally the worst language, by design, in the world. The only exceptions are old as fuck languages (COBOL) and languages designed to be bad (Brainfuck, Befunge and co.). It makes everything you could possibly want to do hard. It has no consistency, either with itself or with any other language anyone would know. It has weird syntax and a list of quirks the size of the Burj Khalifa. I sometimes have nightmares about being asked to maintain a legacy PHP application and not being able to refuse. Its main inspiration, as far as I can tell, is Perl, and they nailed it: PHP is also write-only. It has object-oriented parts stolen from Java and poorly bolted onto the language. It has exceptions stolen from Java, except they fucked those up even worse - most of the stdlib has no idea exceptions are a thing. It has namespaces stolen from Java, except the namespace operator is a fucking backslash. It's so loosely typed it makes your mum's vagina look like a hydraulic clamp. And so on.

But it's also one of the top 5 most used languages in the universe, and its main users are complete cocks who don't know how to code and are willing to hire random fucktards off of Upwork. This means you can, in a pinch, learn some PHP and make money by fixing broken Wordpress and MediaWiki installs. This is probably PHP's only meaningful contribution to society.
>>
>>58896956
>It's so loosely typed it makes your mum's vagina look like a hydraulic clamp.
kek
>>
>>58896471
Nice GIL multithreading lock
Nice scaling bro
>>
>>58895735
C# is for dumb ppl, srsly 100% copz/paste bullshit, you don't have to do anything by yourself, c# is fucking gay kys
>>
>>58896157
Aurelia > Vue.js > Angular 1 and 2
>>
C is under PHP and under everything lel fucking webfags
>>
>>58896956
They also want to add lambdas of the form
|expr| => {}
like in Rust, or Ruby.
>>
I don't understand whats wrong with learning PHP. PHP is a open source server side scripting language used by about 90 percent of the web. Javascript is a client side scripting language. So if you want to build a website you need to know both, not one or the other.

Its extremely useful to make your own sites and not pay for others to do it. Its also fun and easy as fuck.

It can be a fun side hobby and useful to learn, also you could get a job out of it, unlike shitposting on 4chan all day. Also, just because you know PHP does not mean thats all you need to know, so why not learn it as a hobby?
>>
File: wrong.jpg (29KB, 400x400px) Image search: [Google]
wrong.jpg
29KB, 400x400px
>>58898949
>you need to know both

You will almost always have to interact with JavaScript, but PHP? Fuck no. Facebook is the only big Internet company I can think of that still uses PHP, or at least their slightly improved version of it.
>>
>>58899035
https://w3techs.com/
>>
File: pedro.jpg (55KB, 500x646px) Image search: [Google]
pedro.jpg
55KB, 500x646px
>>58895800
>Java
>>
>>58899035
There are so, so many websites that run on php. It's the sheer volume of small to medium websites that makes php worth learning. Besides, it's not that bad of a language since the more recent versions.
>>
>>58896956
fk.. thanks for the analysis
>>
>>58896471
>Flask
KEK
>>
File: tool.jpg (245KB, 1024x680px) Image search: [Google]
tool.jpg
245KB, 1024x680px
>>
How shit PHP could be, it's still better than all the javascript framework bullshit nonsense that is trendy today.

Noone needs 10 megabytes webpages using 50% of the cpu. Keep your shit server side
>>
>>58898771
oh jesus fuck why...
>>
>>58899835
Keep your shit server side... running on a decent language like Python or Golang.

PHP has no place anywhere.
>>
File: 1486420106879.gif (2MB, 310x325px) Image search: [Google]
1486420106879.gif
2MB, 310x325px
>>58895735
>PHP is for stupid people!!
>Recomends C#, a programming language for stupid people
Also:
>Comparing a scripting language to a programming language (if it can even be called that)

LMFAO the tech-illiteracy!!
>>
>>58899035
>what is LAMP
>>
>>58895735
>Java
>100% FOSS ignoring special snowflake J2E nonsense no one uses

>C#
>patented runtime
>.NET Core
>nonfree everything else

no thanks M$ shill
>>
>>58900085
old and busted
>>
File: When-I'm-Drunk-browsing-g.jpg (69KB, 672x665px) Image search: [Google]
When-I'm-Drunk-browsing-g.jpg
69KB, 672x665px
>>58900085
Still the standard today.
Gotta support the legacy code !
Won't shit on PHP cause it landed me a job easily, and it is pretty easy to use.
>>
>>58900085
>Lenovo Thinkpad
>Arch Linux
>mechanical keyboard
>permavir/g/in
>>
Is this whole thread a meme?

Be serious, please. I just taught myself html/css/some javascript/ and the next one on my list is PHP.

I just downloaded drupal webdev and was going to start messing around- am i totally in the wrong here? I know my company uses drupal for our website and i was hoping on learning how to use php so i could maybe get promoted.

Like is php seriously not the way to go to learn server side scripting?
>>
>>58900718
PHP is used a lot, so it's not a wate of time if you want to get a webdev job. It is a horrendous language to write in, so if you have the time to learn a framework like RoR, Django, or anything else not PHP-based, you'll be able to do webdev without hating yourself every minute of it.
>>
>>58900718
LAMP stack is still used in many(most?) webservers. PHP might not be the BEST language, but neither is Java and both of them are heavily used in enterprise settings. So... if you're learning to code because it's fun, PHP is probably not the way to go. If you're learning to code because you want to use it in your job(and especially if your workplace already uses it), learning PHP is probably a good idea.
>>
>>58900765
>>58900776

Thanks for the responses.

Okay ill stick with PHP for now.
Thread posts: 88
Thread images: 11


[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.