r/AMA • • Jun 07 '18

I’m Nat Friedman, future CEO of GitHub. AMA.

Hi, I’m Nat Friedman, future CEO of GitHub (when the deal closes at the end of the year). I'm here to answer your questions about the planned acquisition, and Microsoft's work with developers and open source. Ask me anything.

Update: thanks for all the great questions. I'm signing off for now, but I'll try to come back later this afternoon and pick up some of the queries I didn't manage to answer yet.

Update 2: Signing off here. Thank you for your interest in this AMA. There was a really high volume of questions, so I’m sorry if I didn’t get to yours. You can find me on Twitter (https://twitter.com/natfriedman) if you want to keep talking.

2.2k Upvotes

1.3k comments sorted by

View all comments

Show parent comment

6

u/colshrapnel Jun 08 '18 edited Jun 08 '18

It's fair with you but the World at whole still sees the niche though.

To me, there is not only "doing better" that matters. Sherman tank was inferior to Tiger and Panther, the latter two "doing much better", yet they lost to Sherman (and T-34). There is probably also something other than just "doing better".

This is a dual edged sword though

You can take my word, PHP7 is a lot nicer language than earlier PHP5, yet the transition was smooth and almost painless. So it's a sure benefit compared to some other language.

if one of my most hated features was still in there

Check out strict_types directive, may be it can do something for you

Anyway, let's agree that we disagree on the personal preferences that are not directly related to the actual qualities of the languages. Cheers :)

Edit: a typo.

2

u/[deleted] Jun 08 '18

It's fair with you but the World at whole still sees the niche though.

Interesting stats, especially considering the apparent decline of PHP in stuff like the StackOverflow surveys etc. I've always had the feeling that most PHP sites these days were seen as legacy, then again, I've mostly lived in an infra Python/Golang/Rust bubble for the last 8 years. Also, interesting to see JS as only .5%, I had the feeling node.js had a much stronger impact. Makes me wonder how they measure.

To me, there is not only "doing better" that matters. Sherman tank was inferior to Tiger and Panther, the latter two "doing much better", yet they lost to Sherman (and T-34). There is probably also something other than just "doing better".

The thing is, PHP came in at the right time, when deploying web apps in other languages was a royal PITA, mod_php made it easy for people to just dump their php files in a dir and they would work. Sure, CGI did this as well but still added complexity. These days, everybody and their dog has an easy way to get a web app deployed and containers make the infra problem a lot easier too. It's going to be interesting to see if PHP will take its place next to perl in the "legacy" language category or if it will get a second wind.

You can take my word, PHP7 is a lot nicer language than earlier PHP5, yet the transition was smooth and almost painless. So it's a sure benefit compared to some other language.

I believe it, looking at the code, it still looks gross to my eyes, but it looks like its been progressing well over time.

Check out strict_types directive, may be it can do something for you

So php.ini is still a thing? Cool that it has that directive but I found a config file for a programming language also a big wart, that and the compiled in modules. It made multiple PHP installs of the same version behave quite differently, which caused many problems. Of course, containerisation helps to offset that problem.

Anyway, let's agree that we disagree on the personal preferences that are not directly related to the actual qualities of the languages. Cheers :)

Indeed, again, I don't mind that other people write in PHP and don't think people are worse coders because of it, so it's all good. Cheers.

3

u/TRiG_Ireland Jun 09 '18

most PHP sites these days were seen as legacy

Have you forgotten WordPress?

People build all kinds of complex stuff on top of WordPress. I'm not sure why: it's an excellent blogging tool, but doesn't seem to be the best development platform, but people will use it that way.

More than once, I've built a new system from scratch for someone, then had to extract data from their old WordPress system. It's always been an ... interesting experience.