3 ms·
"If he started Jorf in 1987, that means he started it around the same time Perl 1.0, (and the syntax is much nicer ;-). He started it around the same time G
by mmahemoff 11y ago
"If he started Jorf in 1987, that means he started it around the same time Perl 1.0, (and the syntax is much nicer ;-). He started it around the same time Guido started Python."
This is quite interesting as it's not really clear a better syntax would automatically make it "win" over other languages, or even that it's a significant factor. Maybe a prerequisite in most cases, but I think here are a lot of other factors that can be more important:
* Surrounding library and tooling and documentation
* System requirements to comfortably run it
* Initial community
* Ability of the author to promote it
* The nature of the early adopter individuals and companies (thought experiment: young Mark Zuckerberg sits down one night and proceeds to write thefacebook v0.0.0.0.1 in Perl, not PHP)
"So, he became a suit ;-)"
I saw the emoticon ... but CTO of a startup != suit in many cases
- hyperpallium 11y agoYes, but how do you get that library, tooling, documentation, initial community? Here, Google, Sun, Microsoft, Apple, Facebook(?), Mozilla have huge advantages, but for the individual, let's hope there's something more intrinsic than promotion ability! Syntax plays some role at that early stage, of attracting that initial community.
- tinco 11y agoIf you look him up on LinkedIn his profile picture isn't even in a suit, and in his job description under CEO/CTO it says "Chief Grunt" so it doesn't sound like he changed much at all. Apparently he's been the CEO/CTO of his company for as long as I've lived :) (also.. I hardly think Mark Zuckerberg was an early adopter of PHP, it had been a dominant web programming language for years and was already being widely regarded as a bad idea even though alternatives either were very early or made by awful companies (asp.net))
- laumars 11y ago> * The nature of the early adopter individuals and companies (thought experiment: young Mark Zuckerberg sits down one night and proceeds to write thefacebook v0.0.0.0.1 in Perl, not PHP) A couple of points: 01) PHP was already very well established when Zuckerberg wrote thefacebook. As was Perl, Python, ASP.NET, Cold Fusion, and a few Java solutions (such as Tomcat) too. While it feels like Facebook has been around since forever, it's actually quite a recent development relative to the age of the web. My point being that it wasn't Facebook that made PHP big. 10) You theorise about what might have happened if early prototypes of thefacebook written in Perl but that was actually the original language Zuckerberg favoured (eg https://gist.github.com/philfreo/7257723 https://gist.github.com/philfreo/7257723).
- mmahemoff 11y ago1) True, I was a casual user of PHP before TheFacebook and remain so. The main point of the counterfactual is about Perl, ie that Perl probably would have retained a bigger part of the dev ecosystem. Though it's also true that a product like HHVM may never have happened. 2) Nice! #TIL
- laumars 11y agoI don't think it's fair to say that Perls lack of retention for any sizable part of the modern web development ecosystem was down to it's performance. Since the days of Apache 1.x Perl has had native C bindings for httpd via mod_perl, which unsurprisingly runs circles around FastCGI and the even slower standard CGI. It's also worth remembering that Ruby didn't really take off as a major force for web development until around a decade ago - after Facebook was created - when the Rails framework was released. The reason I bring Ruby into the discussion is because Ruby's performance is roughly on a par with Perl's while having an arguably superior web framework (Rails) to Perl's CGI or mod_perl modules. As much as I love Perl (it's genuinely one of my favourite languages), it really can be a complete pig to work with at times due to it's tendency to encourage code golfing and the many counterintuitive language features that were presumably inspired from shell scripting / awk. This weird and often unexpected complexity is what I think drove a lot of people away. PHP on the other hand, was purposely designed to be a simple language for web development. So while PHP did take some inspiration from Perl, it was more idiomatic to C than Perl was. Which meant it was an easier language for developers to adopt (also be in mind that ASP - which was predominantly VBScript - was heavily used and PHP was easier to adopt than Perl). At least that's how I remember things back when I used to develop in the 90s
- leejo 11y agomod_perl and CGI are no longer recommended for modern perl development. We have Mojolicious, Dancer, Catalyst, Plack, and many other modern frameworks (and libraries). Most of these will run circles around mod_perl, without giving you the horror that is mod_perl's global variables + namespacing hacks and its propensity to segfault.