3 ms·
>Now that premise in itself is silly and you know it. (I could get a code sample for any language that would be impossible to understand by someone who doesn't
by danssig 15y ago
>Now that premise in itself is silly and you know it. (I could get a code sample for any language that would be impossible to understand by someone who doesn't know anything about tha language and it wouldn't even have to be a complicated one.)
The difference, and reason his statement is relevant, is that perl is one of the easiest languages to find these kinds of examples for. Where there is smoke, etc.
>Few languages are as evolvable as Perl.
[citation needed] Are you aware of what is being done in other languages. Does perl run on the JVM yet?
>Nowadays Perl has a better object system than Ruby
This is a subjective statement, right? If not, I'm afraid I'm going to have to ask for citations again.
>and the only hard part is getting it into the core
Oh, right. So as a new programmer I'm going to have to dig around to figure out how to pull things in to make the language modern after I've already gone through the trouble of getting it setup? I saw a "modern best practices use recommendation" one time. There were like 25 or so (I'm not even joking) use statements at the top of the file. If you give me 25 lines to pull stuff in I could probably make BF usable.
- Mithaldu 15y ago> The difference, and reason his statement is relevant, is that perl is one of the easiest languages to find these kinds of examples for. Where there is smoke, etc. Entirely by virtue of there existing a bulk of legacy software. Most other dynamic languages do not even have an appreciable amount of legacy software. If i were to restrict myself to searching only the past 5 years of produced Perl code on CPAN i would be hard-pressed to find truly terrible samples. Either way you managed to entirely miss the point that for a person with no knowledge about a language (including no knowledge about sibling languages), any example of source would be nearly impossible to understand at first try. > [citation needed] Are you aware of what is being done in other languages. Does perl run on the JVM yet? I said language, not virtual machine. > I'm afraid I'm going to have to ask for citations again. When does Ruby plan to have Roles? > I've already gone through the trouble of getting it setup Hahahaha. Trouble setting up perl, good one, pal. Also, i know what sample you saw once. That was written as a joke. It is a boilerplate tchrist made to demonstrate what would be necessary to make scripts entirely and absolutely perfect with unicode. (Note: Perl's default state is still better in handling unicode than most other languages.) > So as a new programmer I'm going to have to dig around Right now, yes. Which is why i wrote the blog post mentioned above. How kind of you to notice.
- danssig 15y ago>If i were to restrict myself to searching only the past 5 years of produced Perl code on CPAN i would be hard-pressed to find truly terrible samples. Well, it depends on what you mean by "truly terrible samples". If you mean "things the thread-OP couldn't understand" then I would be surprised if your statement is correct. Was the example he provided from CPAN? >I said language, not virtual machine. People are doing "crazy" things in every language. Including porting them to the JVM so they can use the whole body of Java libraries (which is more than what's on CPAN btw). >When does Ruby plan to have Roles? I'm not a ruby guy but ruby has mixins which fill the same niche (even if they probably behave a little differently to accomplish it). >Trouble setting up perl, good one, pal. It depends. If I'm on a modern Linux, sure, if it's not already there I can apt-get it. That's not always the case though. >That was written as a joke I'm pretty sure the one I saw from Chromatic. It had various Moose stuff in it as well. Surely you don't have to pull in the whole OO framework to get unicode to work? >Right now, yes. Which is why i wrote the blog post mentioned above. How kind of you to notice. So finally you accept a criticism. But only the one you made yourself already. And they say Rails is a ghetto...
- Mithaldu 15y ago> Was the example he provided from CPAN? Man, please, you could at least read the whole thing. I provided the sample, randomly pulled from CPAN and that dude harped on one small extract. > mixins Hm, gonna have to admit i have no clue about those. Will read up at some point. > It depends. If I'm on a modern Linux, sure, if it's not already there I can apt-get it. That's not always the case though. Perl is on every linux, no exception. It may not be the newest one, but even then you can use perlbrew to install whatever version you want for your own user account. But seriously, perl is on every linux. And even on windows it's as stupidly simple as downloading an installer and clicking 5 times. > moose ... boilerplate You wouldn't include Moose in a boilerplate thing. > criticism I work daily with Perl, i've considered MANY criticisms, i have a whole book of criticisms of my own. The problem you're running into is that i've already spent a hell of a lot more time thinking about those criticisms than you have.
- 15y ago