20 karma · joined Mar 3, 2010 (16y ago) · 37 submissions
comment 16y ago · link · parent
Context and corner cases maybe makes readability suffer. For example, what does `m///g` do in scalar vs. list context? I don't recall.
comment 16y ago · link · parent
You're also correct about generally being able to tell someone's political leaning.
Another thing is that the 2 parties (republican and democrat) are very clearly opposed and distinct. And every republican I know very strongly identifies with being a republican (and my guess is that they vote republican unquestioningly straight across the ballot). Surmise from that what you will.
comment 16y ago · link · parent
I can't comment on whether or not svn/hg/bzr/git/darcs have well-chosen defaults. I only know that I hear it's a common complaint about git.
comment 16y ago · link · parent
Vim certainly has a lot of ninja editing moves (however, I don't think my development speed is particularly limited by my raw text editing speed).
comment 16y ago · link · parent
Also, what does the interviewer mean by this:
> I generally ask these folks if they think the problem of looking up a key by value has been solved before, especially given the two weeks to be live in production requirement.
Is that a typo? s/key by value/value by key/ ?
comment 16y ago · link · parent
Community plays a large role here, I think.
The Perl community (both 5 and 6) overall has a practical can-do attitude. This attracts users.
Perl 5 seems to have more grumpy (though still helpful) users.
Perl 6 has Larry and lots of courteous, friendly, and helpful users. It's a community you want to be a part of.
The Python community has a "no, you're wrong -- that's not Pythonic" feel to it which I think turns a lot of users off to Python.
So, I think Perl 6 does have a chance. Personally, I'd probably be more on-board with Perl 6 if it didn't look so darn complex.
comment 16y ago · link · parent
* Everyone I've encountered online who has used both Perl 5 and Perl 6 says that they like Perl 6 (the language) better.
* This first Rakudo Star release is not optimized at all, which is fine and not a surprise. Everyone by now should know that one of the golden rules is: "make it work, make right, then make it fast." Rakudo is (fwict) mostly still on the first step there.
* There are a large number of Perl 5 users who, years ago, got excited about Perl 6, and then eventually needed to get back to work with Perl 5 and subsequently went quiet on Perl 6. I think you're going to see more and more of these people getting re-interested in Perl 6.
* I keep hearing "Perl 5 isn't going anywhere". I think that's correct, however, that comment usually implies "it's not going to disappear tomorrow". I think it has a 2nd meaning, and that is: it's not going to continue to move forward very much now that Perl 6 is here.
* Perl 6 needs its own real forum. Perlmonks has a decidedly Perl 5 feel to it, and although #perl6 on irc is a friendly place, users need a regular online forum. Someone needs to just choose one, install it, pick a pretty theme, slap a Camelia logo on it, and get it running. Not a mailing list, not a google group, not irc, but an actual factual forum. It doesn't have to have karma or voting or a chatterbox right now, it just has to have a working forum.
* Go Offer Kaye! Keep those "Gentle Intro" blog posts coming. http://blogs.perl.org/users/offerkaye/2010/07/p6-gentle-intr... . Many new Perl 6 users will want to write in baby-Perl6, and little easy tutorials like these (and Szabgab's screencasts) are a great help.
comment 16y ago · link · parent
Also, Perl 5 tends to be used for a lot of unglamorous admin work. So, although almost everyone's got a few utilities or cron tasks on their system written in Perl, they're not shouting about it from the rooftops.
Also, Python is an easy language to learn, and so people like to learn it and blog about how easy/nice/shiny it is: http://xkcd.com/353/ .
16.
Ask HN: I don't want an interface like Gmail for my webapp. Alternatives?
2 points · by expeditious · 16y ago · discuss
comment 16y ago · link · parent
comment 16y ago · link · parent
If you have some specific questions, I suggest asking them at http://perl6.org/community/irc , which I've found to be very friendly and helpful.
comment 16y ago · link · parent
It means that for basic stuff they are pretty much the same. Variables & data structures (scalars, arrays, mappings), creating and calling functions, creating and instantiating classes, looping, if/then/else, talking to the network, talking to the OS, talking to the db, etc. This basic stuff is in all these languages; the only real differences are in the syntax (and that's not even very different).
For many programming tasks, you're just doing these basics over and over again. Any language will work, so you may as well pick one that's got it where it counts -- modules, since that will make the most difference in how much extra code you have to write. And Perl wins that competition with the CPAN.
> Would they have gone off in search of the Holy Grail with Perl 6 ...
Thing is, it's not a Holy Grail. It's just the next revision of Perl. Take a look at some example Perl 6 code online; they've cleaned things up, fixed some boo-boos, and upon seeing it I expect you'll matter-of-factly say, "oh, yeah, still looks like Perl :)".
comment 16y ago · link · parent
I basically have a good idea what the answers are to those questions for iPhone and Android. No idea for Nokia.
comment 16y ago · link · parent
My limited experience has been different. I've been trying to make time to learn Scheme lately, and recursion seems simple enough. You can just practice it until it makes sense. What I find difficult is understanding what symbols are and what single-quoting actually means. No Scheme book I've seen yet just comes out and actually tells you in plain language what a symbol is.
comment 16y ago · link · parent
If you haven't talked to a professional (psychologist or psychiatrist) lately, go (or have a friend or relative on your behalf) seek one out and make an appointment before you do anything else. If you explain your situation on the phone, they may be able to squeeze you in for an appointment right away.
comment 16y ago · link · parent
You can see a list of recent uploads here: http://www.cpan.org/RECENT.html
> There's tons of choice with date libraries,
Most everyone uses DateTime.
> or OO frameworks,
Nowadays choosing this one is simple: Moose
> or unit test frameworks
Test::More is pretty standard.
> For all the talk of CPAN being so killer, there actually isn't much there that other languages don't also have.
That is approximately the opposite of my experiences with the CPAN.
comment 16y ago · link · parent
comment 16y ago · link · parent
Can you please explain in what way LaTeX is lightweight? IIRC, LaTeX is a macro layer above TeX which is a layer above something written in "web" which (don't know the details here, but) I think may be translated to C (web2c) for building.
Also, last time I looked, the Texlive distribution is something like at least 100 MB.