He said that it can't be obfuscated perl contest. The thing you gave comes from here which is the second place winner of the 5th anual perl obfuscated contest...
Although I am a big Perl enthusiast and use it extensively, I do have to admit there are some ugly things in Perl.
The first thing that comes to mind are regexes. I recently took a Perl course (I wanted to meet other Perl enthusiasts) and we had an assignment to take a string of characters and see if they were a valid date and the day of the week (this was in the beginning of the course. Most people wrote simple logic for this, but this one girl (a ruby programmer wrote a HUGE regex. That could be an example of unreadable code (although it was quite elementary)
But then again, I would argue that C is ugly and Perl regexes are beyond the realm of ugliness...
This is very far from the truth. Perl is still used heavily for many things ranging from games to CGI.
I thought it was a passe fad like Java.
The same goes for Java.
Seriously, doesn't it remain too slow in execution spped... and the quick knock off jobs you can do with it are better done in bash and awk?
Bash and Awk are not powerful enough to do some of the jobs Perl can do. And Perl is only slow with some things, and in comparison to really serious languages like C/C++.
Would you care to provide any reasons for switching to Python?
Holy wars such as Perl vs Python are typical but altogether unneccecary. Both Perl and Python are maturing and are now sophisticated languages. Furthermore, they are suited for different things. For example, if I were writing a program that needed advanced string parsing, I would use Perl. If I was writing a graphical game, I would use Python. If I was writing a CGI script, I would use Perl. If I was writing a program that described various objects in space, I would use Python.
There is no reason to get so defensive about these things with the exceptions of Windows vs Linux (Linux) and Emacs vs Vi (Emacs).
No native programs that I know of.
Of course you could use WINE or a similar emulator (I know, I know, it's technically not an emulator, but that's beside the point). I think the reason behind this is that GNU/Linux is mainly used by people who don't need to play educational kids' games.
I hardly think that is a good reason to prevent fathers to teach their sons about computers. If their father is a pervert, he will pass some of it on to his son anyways.
I suggest you show him the World Wide Web and explain somethings about it. Show him some programs (by the way, what OS do you have?) Let him go on the computer by himself someday, maybe with or without supervision.
There are plenty of games that are educational! For example, you could play a game I made in Perl a while back called Multiplication Challenge. It is an arithmetic game which quizes you in math.
In general, most young children learn a lot better when they are doing interactive work, not just listening or watching, especially if there is a goal they are trying to achieve (best score, etc.)
I was, however, speaking in more relative terms. For example, compared to C, Perl loses (speed-wise). The difference in speed might not be significant enough to cause a problem and there are other factors involved.
One is operating system. running Perl under Windows when speed is an issue is not a good idea. Running any web application under Windows is generally not a good idea, but that is a topic for another debate.
It is also important to see what your program is doing. I have found that Perl is very fast with arrays and various array functions and slower with files.
In the end I think that it boils down to "What program are you writing and what is it going to do?"
I absolutely agree. The only danger with Perl is speed. Perl is not the fastest language, but unless your web application needs speed, Perl will work 99 percent of the time
It appears to me that your experience iwth Debian has ended 3 years ago. Programs get updated and made better. Even so, some prejudices persist, and people choose not to use the system. That's OK. But there are those that choose to stay and make the system better for everyone. It is on this principle that all of GNU/Linux is based. And if you choose to discourage people from upholding this principle, then no matter what distribution you use, and even no matter what operating system you use, you are not understanding the significance of freedom.
I beg to differ, one of the pleasures of playing games (and reading books and watching movies) is exploring possibilities you wouldn't normally (and in this case legally) be able to do.
But exploring such possibilities involves the same results as in the real world, but virtually. (e.g. if you commit serial murder, SWAT will be after you).
The Internet has and allways will be an anarchy. When you go to a website, you have entered somebody's shack; you must follow all their rules, do certain things, don't do others, etc. It just so happens that there are a lot of abandoned shacks out there, or some that have stupid owners. There are many good ones, and every once in a while when you enter a shack you find that what you were looking for to begin with.
And this is the purpose of the World Wide Web. There cannot be a universal governing system because if there was, people would not be able to find that what they were looking for if the universal government disagrees with it (as they will with some).
The abandoned or "stupid" shacks are jealous of those shacks which provide us travellers with what we want. They attempt to decieve us, to lure us into their shack.
I say, let them. This is their shack and it costs them more than it costs us to get out of there. If they like their shack standing their, alone and hated, that is their decision. They paid for it and built even if the rest of us despise them for it.
I doubt that it will cause a professionalism problem. Anyone who cannot read HTML emails know that they exist and that they can't read them and will therefore, not think of your company as being non-professional. It is a good idea to allow the recipient to choose whether he wants HTML formatted news or plain-text, but the current position is not as bad as it may seem.
Perl of course!
If you want a flame war, email me at lgrinberg@gmail.com I have plenty of time on my hands...
Perl can do that
Perl's specialty
Perl/TK can do that for you
I think Perl is.
He said that it can't be obfuscated perl contest. The thing you gave comes from here which is the second place winner of the 5th anual perl obfuscated contest...
Although I am a big Perl enthusiast and use it extensively, I do have to admit there are some ugly things in Perl.
The first thing that comes to mind are regexes. I recently took a Perl course (I wanted to meet other Perl enthusiasts) and we had an assignment to take a string of characters and see if they were a valid date and the day of the week (this was in the beginning of the course. Most people wrote simple logic for this, but this one girl (a ruby programmer wrote a HUGE regex. That could be an example of unreadable code (although it was quite elementary)
But then again, I would argue that C is ugly and Perl regexes are beyond the realm of ugliness...
The same goes for Java.
Bash and Awk are not powerful enough to do some of the jobs Perl can do. And Perl is only slow with some things, and in comparison to really serious languages like C/C++.
Would you care to provide any reasons for switching to Python?
Holy wars such as Perl vs Python are typical but altogether unneccecary. Both Perl and Python are maturing and are now sophisticated languages. Furthermore, they are suited for different things. For example, if I were writing a program that needed advanced string parsing, I would use Perl. If I was writing a graphical game, I would use Python. If I was writing a CGI script, I would use Perl. If I was writing a program that described various objects in space, I would use Python.
There is no reason to get so defensive about these things with the exceptions of Windows vs Linux (Linux) and Emacs vs Vi (Emacs).
http:///http://ipodlinux.org/Main_Page>
I rest my case.
Maybe someone should go out and make an educational game. Want to team up?
No native programs that I know of. Of course you could use WINE or a similar emulator (I know, I know, it's technically not an emulator, but that's beside the point). I think the reason behind this is that GNU/Linux is mainly used by people who don't need to play educational kids' games.
I hardly think that is a good reason to prevent fathers to teach their sons about computers. If their father is a pervert, he will pass some of it on to his son anyways.
This not true. As a matter of fact, letting him play with TuxTyping or TuxPaint might be a good way to start...
I suggest you show him the World Wide Web and explain somethings about it. Show him some programs (by the way, what OS do you have?) Let him go on the computer by himself someday, maybe with or without supervision.
Let him become a guru by12!
There are plenty of games that are educational! For example, you could play a game I made in Perl a while back called Multiplication Challenge. It is an arithmetic game which quizes you in math.
In general, most young children learn a lot better when they are doing interactive work, not just listening or watching, especially if there is a goal they are trying to achieve (best score, etc.)
That is true.
I was, however, speaking in more relative terms. For example, compared to C, Perl loses (speed-wise). The difference in speed might not be significant enough to cause a problem and there are other factors involved.
One is operating system. running Perl under Windows when speed is an issue is not a good idea. Running any web application under Windows is generally not a good idea, but that is a topic for another debate.
It is also important to see what your program is doing. I have found that Perl is very fast with arrays and various array functions and slower with files.
In the end I think that it boils down to "What program are you writing and what is it going to do?"
I absolutely agree. The only danger with Perl is speed. Perl is not the fastest language, but unless your web application needs speed, Perl will work 99 percent of the time
It appears to me that your experience iwth Debian has ended 3 years ago. Programs get updated and made better. Even so, some prejudices persist, and people choose not to use the system. That's OK. But there are those that choose to stay and make the system better for everyone. It is on this principle that all of GNU/Linux is based. And if you choose to discourage people from upholding this principle, then no matter what distribution you use, and even no matter what operating system you use, you are not understanding the significance of freedom.
I beg to differ, one of the pleasures of playing games (and reading books and watching movies) is exploring possibilities you wouldn't normally (and in this case legally) be able to do. But exploring such possibilities involves the same results as in the real world, but virtually. (e.g. if you commit serial murder, SWAT will be after you).
What do you mean 'even'? Slashdot is so popular that even my computer illiterate friend loves it!
The Internet has and allways will be an anarchy. When you go to a website, you have entered somebody's shack; you must follow all their rules, do certain things, don't do others, etc. It just so happens that there are a lot of abandoned shacks out there, or some that have stupid owners. There are many good ones, and every once in a while when you enter a shack you find that what you were looking for to begin with.
And this is the purpose of the World Wide Web. There cannot be a universal governing system because if there was, people would not be able to find that what they were looking for if the universal government disagrees with it (as they will with some).
The abandoned or "stupid" shacks are jealous of those shacks which provide us travellers with what we want. They attempt to decieve us, to lure us into their shack.
I say, let them. This is their shack and it costs them more than it costs us to get out of there. If they like their shack standing their, alone and hated, that is their decision. They paid for it and built even if the rest of us despise them for it.
The Simpsons mentioned it in an episode. I also believe Family Guy did as well
Some HTML emails ARE annoying. But they allow for nice formatting, bold text, etc.
I doubt that it will cause a professionalism problem. Anyone who cannot read HTML emails know that they exist and that they can't read them and will therefore, not think of your company as being non-professional. It is a good idea to allow the recipient to choose whether he wants HTML formatted news or plain-text, but the current position is not as bad as it may seem.