NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
It's about communicating clearly (Score:1)
Great conversation here. Glad that people are willing to engage in it thoughtfully. (Many thanks to Alias for the conversation starter.)
@ educated_foo [perl.org]: The reality is that people are using Ruby, and Rails, for more than just scripting up "shiny-looking web page with minimal effort." (I'll concede the point about DHH's hair.) They're using it for all kinds of crazy stuff, like writing desktop applications and large-scale messaging services like Twitter. (All things that Perl can do equally well.)
Regardless, I
Keeping technology simple since 2003
Re:It's about communicating clearly (Score:1)
AFAIK, Twitter is just a shiny web app that throws a lot of servers at a problem. Other than the web interface, it seems like the whole thing could be done with text files and a UDP server. Rails actually seems like a terrible fit for what Twitter is doing; it seems better suited for the simple, low-traffic web interfaces that most small businesses want than for a high-traffic buffered message queue.
Exactly. UNIX, C, Perl 5, and Rails worked because they were first written to solve actual problems, then cleaned up so they could be used by others. I expect Perl 6 will fail because it's not directed at an actual problem ("keep Perl moving" and "make Perl clean" are too vague).
Fads count for a lot in programming. Perl, Python, and Ruby are all roughly similar at a technical level (though Perl gets variable scoping right), so if I don't know any of them, then all else being equal, I'll choose the one most likely to make me look cool and/or get me a job. But immediate usefulness also counts: if one of them has a ready-made solution for my specific problem, then I'll probably choose that one. Perl seems to have done well 10 years ago for its text munging and CGI handling. I (thankfully) don't have to write web apps, but Ruby became popular because other programmers were forced to write them, and Rails made that less painful. I hope people don't lose sight of the fact that the most important goal of any programming tool is to be useful. You don't need to shine a diamond, and you can't shine a turd.
Reply to This
Parent
Re: (Score:1)
361 problems Perl 6 addresses (non-exhaustive list) [perl.org]
Re: (Score:1)
Just to take one example, "the AUTOLOAD subroutine should be able to decline a request" may be a shortcoming of the Perl language, and may annoy some Perl programmers, but it's not a "problem" in the sense I intended. "I need to offer my company's widgets for sale on the web" is a problem. "I need to convert this UniProt file to FASTA" is a problem. If you design a programming language while thinking about programming languages, you get Scheme.
Re: (Score:1)
That's a lovely slogan, but in the real world I suspect it's meaningless.
If you don't think about programming languages while you design a programming language, I wonder how you add features that are specific enough to address real design problems while general enough to allow people to use them to address problems that didn't exist while you were designing the language. I wonder how you balance elegance and t
A lovely slogan... (Score:1)
I missed a "solely" there: "If you design a programming language while thinking *solely* about programming languages, you get Scheme." If you look at the languages that endure, most were designed by smart people with specific problems to solve: John Backus wanted to TRANslate FORmulas to machine code, and created FORTRAN; Dennis Ritchie wanted to program his PDP-11 in something higher-level than assembly, and created C; etc.
Perl fit(s) into this tradition. Perl 6 hasn't quite figured it out yet.
Re: (Score:1)
> If you design a programming language while thinking about programming languages, you get Scheme.
I believe the evidence would suggest you get something like Ada as well :)
Re: (Score:1)
http://www.macruby.org/ [macruby.org]
Keeping technology simple since 2003