4 ms·
Also, Ruby is a better language than Perl. No amount of campaigning will change that. (Before anyone follows-up with the usual "the right tool for the job", it
by varjag 16y ago
Also, Ruby is a better language than Perl. No amount of campaigning will change that.
(Before anyone follows-up with the usual "the right tool for the job", it's not the point here. There are good screwdrivers and bad screwdrivers).
- lwhi 16y agoThere are also phillips head, straight edge and torx :)
- varjag 16y agoEach come in good and bad variety.
- lwhi 16y agoTrue - but you need to compare like-to-like to make a fair comparison.
- nzmsv 16y agoThere is also Robertson, which is superior to Philips, but lost due to poor marketing :)
- pronoiac 16y agoWhat I'd heard was that the Robertson screw, though awesome, didn't take off due to exorbitant royalties, but checking, it looks like he refused to license them to let anyone else make them after getting burned, & having only one supplier worried Henry Ford too much to use them. http://en.wikipedia.org/wiki/List_of_screw_drives#Robertson http://en.wikipedia.org/wiki/List_of_screw_drives#Robertson
- lwhi 16y agoSounds a bit like Android vs iOS (or Windows vs. MacOS).
- jsrn 16y ago> Also, Ruby is a better language than Perl. "Perl is the syntax, CPAN is the language"
- lwhi 16y agoWhat's the fastest way to learn about the benefits of SPAN/Perl?
- jsrn 16y agoRecently chromatic finished his book "Modern Perl": http://www.onyxneon.com/books/modern_perl/index.html http://www.onyxneon.com/books/modern_perl/index.html you can download the PDF for free: http://www.onyxneon.com/books/modern_perl/modern_perl_letter.pdf http://www.onyxneon.com/books/modern_perl/modern_perl_letter... http://www.onyxneon.com/books/modern_perl/modern_perl_a4.pdf http://www.onyxneon.com/books/modern_perl/modern_perl_a4.pdf this book follows and introduces modern practices/modules developed by the Perl community in recent years.
- lsc 16y agoin terms of stability? really? I hear this a lot about Python. And I know a little bit about Python; I know less about ruby. But the thing of it is, from a SysAdmin perspective, Python is where Perl was in 2000. In 2000, you had differing versions of perl that were close enough to step on oneanother, but still so incompatible that you had to maintain one version of perl for your base OS tools, and usually another version of perl for every major application you used. Perl has stabilized to the point where this is no longer a problem. I can run nearly everything on system perl without worrying about it. Python, on the other hand, I've had to wrangle with many RHEL systems that have two versions of python (one, because the RHEL base system requires a staggeringly ancient version of python, and then the other for the application the server was running.) Python just isn't "done" in the way perl is. In five or ten years, sure. But for now, it's still a pain in the ass. Hell, I'd bet money that at this point, perl5 has fewer memory leaks and other programming errors in the compiler than Ruby does, just because people have been pounding on it for so long.
- mfukar 16y agoI'm going to draw an analogy from Larry Wall's own words: Python 3 is to Python 2 what Perl 6 is to Perl 5, a different language. Just because you had a bad experience with Python legacy code (yes, RHEL sucks), doesn't mean you get to discredit the language. What is it about the language you find unfinished? I'd be 99% certain any issue you're going to mention is actively being worked on.
- berntb 16y agoInteresting... Are people using Python 3, now? (Hint: I don't think the grandfather comment was about Python 3.) And different languages doesn't say much. :-) Perl 6, compared to e.g. Python 2/3, is a really ambitious undertaking. But OK, with the backporting going on, Perl 5 might end up being similar to Perl 6... :-)
- skybrian 16y agoI'm sure some are, but it's not mainstream. For example, the Django team hasn't started porting to Python 3 yet. For now, you can ignore Python 3.
- igrekel 16y agoAs a canadian I wish manufacturers would use robertson screws rather than those damn philips screws. But alas, things are manufactured for north america as a whole and the canadian market is so small compared to the US market. Then again it could be worse, they could be using flat head screws.
- javert 16y agoAs an American, I see flat head screws quite often (but also philips).
- weel 16y agoRobertson screws are not flat head screws. They are a type of screws that is particularly popular in Canada and that requires a square screwdriver. Look it up on Wikipedia... it's an interesting tale of intellectual property guarded too zealously for the inventor's own good.
- sigzero 16y agoThat is just a monstrously huge opinion and that is all it is.
- wazoox 16y agoThe quality of the syntax is purely a question of taste and as such isn't really debatable (de gustibus coloribusque non disputandum est), but so far it seems that Ruby still lacks in scalability and speed compared to Perl or Python.
- danieldon 16y agoRuby still lacks in scalability and speed compared to Perl Ruby is faster than Perl, according to the language shootout: http://shootout.alioth.debian.org/u32/which-programming-languages-are-fastest.php http://shootout.alioth.debian.org/u32/which-programming-lang... http://shootout.alioth.debian.org/u32q/which-programming-languages-are-fastest.php http://shootout.alioth.debian.org/u32q/which-programming-lan...
- kentnl 16y agoIt depends which graphs you look at: These graphs tell me 1. Perl is slightly faster. 2. Perl uses much less memory on average 3. Perl uses less code. http://shootout.alioth.debian.org/u32/benchmark.php?test=all&lang=yarv&lang2=perl http://shootout.alioth.debian.org/u32/benchmark.php?test=all... http://shootout.alioth.debian.org/u32q/benchmark.php?test=all&lang=yarv&lang2=perl http://shootout.alioth.debian.org/u32q/benchmark.php?test=al... However, on Ruby18 you do have a substantially bigger problem: http://shootout.alioth.debian.org/u32/benchmark.php?test=all&lang=ruby&lang2=perl http://shootout.alioth.debian.org/u32/benchmark.php?test=all... Lies, Damned lies.
- igouy 16y ago> These graphs tell me It must be the spectacles you're looking through. These graphs tell me that - about the same number of Perl programs are faster than the Ruby 1.9 programs by about the same amount, as there are Ruby programs faster than Perl programs - some of the Perl programs use half the memory of the corresponding Ruby 1.9 programs - the Perl programs and Ruby 1.9 programs use about the same amount of code.
- igouy 16y ago