Re:Ask HN: What's your favorite way of getting a web app up ...
by eagsalazar2 on Sunday June 03, 2018 @03:46AM
(#17218431)
In many areas of the US (the entire west coast for example), PHP is dead - plain and simple. Independent of whether it is good or not, selecting dead or obscure technologies for your clients is completely irresponsible and leaves them with a maintenance catastrophe just because you like php. Yes there is a lot of hipster-ism out there in platform choice but there are plenty of mature, fast, and popular options out there. PHP is not one of them.
[ Parent
| on HN ]
Re:Ask HN: What's your favorite way of getting a web app up ...
by lignux on Sunday June 03, 2018 @04:03AM
(#17218479)
PHP is not mature or fast or popular? And PHP is very far from dead no matter where you are. In fact is getting a lot more interest now since PHP 7.
If you don't like PHP that's one thing but what you said is just wrong.
Re:Ask HN: What's your favorite way of getting a web app up ...
by kbenson on Sunday June 03, 2018 @05:54AM
(#17218803)
PHP isn't dead, and it will never be dead, but as a long time and continuing professional Perl developer myself, let me tell you that you're better off just accepting that your language of choice isn't in vogue anymore.
It's not all bad once you're on the ass-end of history. I'm sure you can easily identify a few negatives being the language de jour bring (such as lots of shitty programmers joining the community all the time). Welcome to middle-age. ;)
Re:Ask HN: What's your favorite way of getting a web app up ...
by gkya on Sunday June 03, 2018 @10:31AM
(#17219693)
Perl 5 is pulling me like a superstrong magnet. I haven't had time to read the basics and things like choosing the correct sigil + accessor trim me up, but still, it has many niceties. To begin with, you can have a statement "use v5.x;" and be done with which interpreter problem: it can tell you it needs sth. different, and does not fail because you have python3 to be 3.x, but the script needs 3.x+y, or you have the shebang as python3.x but the system has 3.x+y which is compatible, but you can only have one full path in the shebang... Then the context variable $_ is just lovely. The availability of mature libraries for everything is a trait Perl shares with a small number of languages. Its integration to Unix and its expressivity are second to none. The documentation, while not as accessible as Emacs', is available on you computer offline in man pages, and perldoc can give you proper docs on functions (unlike crappy help() in Python which never shows you anything useful and you have to go to the docs, usually online), add to that POD being a very nice way to add documentation to your scripts and also view them (if its in the path you can "perldoc <script>" and get help. And once you know your way around perl* man pages, you can just program independently, with little or no need to go online for Perl stuff. All niceties other languages/communities could've had, but just don't, because, well IDK why.
I'm a 25yo, so when I started programming Perl hatred was the hot thing already. Well, luckily as a curious person I discovered its just baseless cargo cult. Perl is one of the best tools to have in your toolbox.
Re:Ask HN: What's your favorite way of getting a web app up ...
by vgy7ujm on Monday June 04, 2018 @04:26AM
(#17225653)
Well said!
Re:Ask HN: What's your favorite way of getting a web app up ...
by JonoBB on Sunday June 03, 2018 @04:19AM
(#17218521)
PHP is not dead - plain and simple. Independent of whether it is good or not, selecting technologies based on your biases for your client is completely irresponsible. There are plenty of mature, fast and popular options out there. PHP is one of them.
Re:Ask HN: What's your favorite way of getting a web app up ...
by buvanshak on Sunday June 03, 2018 @04:48AM
(#17218613)
denial!
Re:Ask HN: What's your favorite way of getting a web app up ...
by kyriakos on Sunday June 03, 2018 @04:27AM
(#17218539)
There are many successful companies and start ups that use PHP. The same way they exist for other languages and platforms.
No start up became a unicorn because of the programming language they used.
Re:Ask HN: What's your favorite way of getting a web app up ...
by cutler on Sunday June 03, 2018 @10:22AM
(#17219648)
With the possible exception of Clojure :). See Paul Graham on Lisp as the secret weapon.
Re:Ask HN: What's your favorite way of getting a web app up ...
by KingMob on Monday June 04, 2018 @03:00PM
(#17230976)
What's the biggest Clojure start-up at the moment? Is it CircleCI?
Wal-Mart is pretty big into Clojure these days, but they were already huge.
Re:Ask HN: What's your favorite way of getting a web app up ...
by cutler on Monday June 04, 2018 @08:27PM
(#17233945)
Here in London there's Funding Circle and uSwitch. The Daily Mail (MailOnline) also uses quite a lot of Clojure.
Re:Ask HN: What's your favorite way of getting a web app up ...
by alfredallan1 on Sunday June 03, 2018 @10:45AM
(#17219764)
Whatsapp.
Re:Ask HN: What's your favorite way of getting a web app up ...
by kyriakos on Sunday June 03, 2018 @01:29PM
(#17220598)
whats whatsapp built on?
Re:Ask HN: What's your favorite way of getting a web app up ...
by scns on Monday June 04, 2018 @03:40PM
(#17231467)
Erlang and FreeBSD
Re:Ask HN: What's your favorite way of getting a web app up ...
by crag on Sunday June 03, 2018 @04:06AM
(#17218488)
This is just bs. PHP is thriving everywhere expect Silicon Valley.
Re:Ask HN: What's your favorite way of getting a web app up ...
by oblio on Sunday June 03, 2018 @06:51AM
(#17218964)
Even there, aren’t Facebook and Etsy using it, at least?
Re:Ask HN: What's your favorite way of getting a web app up ...
by jjeaff on Sunday June 03, 2018 @12:09PM
(#17220187)
And WordPress, Yahoo, Salesforce, Adobe, eBay and on and on. You'll have a hard time finding any tech company that doesn't use it to some extent.
Re:Ask HN: What's your favorite way of getting a web app up ...
by hn613331 on Sunday June 03, 2018 @12:32PM
(#17220323)
And Wikipedia
Re:Ask HN: What's your favorite way of getting a web app up ...
by hn613331 on Sunday June 03, 2018 @12:31PM
(#17220314)
And slack
Re:Ask HN: What's your favorite way of getting a web app up ...
by cutler on Sunday June 03, 2018 @10:19AM
(#17219637)
I don't know which planet you're living on but all you need to do is search Indeed.com for title:php and you'll find PHP is up there with Java, C# and Javascript in terms of the number of jobs. In some countries Java, JS and PHP are the only languages used in any significant numbers. Likewise in more technologically advanced countries once you get away from the tech hubs. I'm not a fan of PHP and I wish it was true but dead it certainly ain't.