Live data from Hacker News

Why Did I Choose Perl When Building Crowdtilt?

dsog.info

91–100 of 143 posts

Re: Why Did I Choose Perl When Building Crowdtilt?

#91

Earlier quoted context omitted.

+1 It is so hard to know that @ means array and % means a hash (key/value pair) haha.

It's not that hard to know the types of the variables you created without punctuation in the identifiers, either.

>you created

Agreed. However, working for a company with more than one developer...

Re: Why Did I Choose Perl When Building Crowdtilt?

#92
Normally I'd just on the author for using a prototype in production, as admitted in point #1, but being open about it garners brownie points.

Good article, especially the praise towards CPAN. It seems to get lost in the hustle and bustle of the cutting-edge discussions, undeservedly so.

Re: Why Did I Choose Perl When Building Crowdtilt?

#93
post #4

I wonder if this will make hiring easier or harder in the valley?

Hiring people willing to work in Perl isn't that tough. Hiring experienced Perl developers with experience solving specific issues is tougher. Hiring a experienced Perl hacker that's fully embraced something front-end development using Extreme Programming is going to be virtually impossible in your local area. I'm a recruiter w/ first hand experience trying recruit for many languages, and I find Perl-based posotions much harder to fill.

Re: Why Did I Choose Perl When Building Crowdtilt?

#94
post #40

Earlier quoted context omitted.

As has been alluded to in another comment: Which other languages that compare to perl have you actually looked at? Python has rich meta-programming. Ruby has (almost) single-handedly super-hyped and re-invented the idea of domain specific languages (DSLs). Lisp is of course all about this (as is Forth). Javascript builds on the ideas from Smalltalk and (especially) Self to allow you to crazy stuff with how objects wo…

"As has been alluded to in another comment: Which other languages that compare to perl have you actually looked at?" I am very familiar with all of the languages that you mention. They are all great languages in their own right. My comment however was about Perl's ability to easily evolve the core language via contributions from its community, as opposed to other languages that require a lenghty process performed by…

"People have had to deal with Perl code that they do not understand. It may have been poorly written, or it may have been perfectly written Perl code. If you do not take the time to learn Perl, you would not know the difference."

The problem is that Perl's TIMTOWDI culture and the inconsistent evolution of the core language make learning "enough" Perl harder than learning e.g. "enough" Python.

Re: Why Did I Choose Perl When Building Crowdtilt?

#95

Earlier quoted context omitted.

Perl lets you add new language keywords which take effect during the parse phase.

So, basically, Perl has macros? REAL macros? Like, say, in Lisps? Could I, for example, make fully inlined merge sort, as demonstrated a couple days ago here by a post from Racket blog? Now I'm curious.

Sort of. Perl has support for something like reader macros. See http://search.cpan.org/~zefram/Devel-Declare-0.006011/lib/De... for details.

One could, in theory, build something like Lisp macros using it, but I don't think that anyone has.

Re: Why Did I Choose Perl When Building Crowdtilt?

#96

There is some decent justification in there, but I think the generic question, in a lot of questions is: Why did I choose to build X with Y? The generic answer is usually: Because it is what I know. The extended answer may include particular features of the language or environment or it may include the support provided by a particular cloud infrastructure. As an example, the stuff I am personally working on now, I mo…

There are always tradeoffs, but sometimes you can find "the best tool for the job". And that may or may not be the tool that you know. You gotta be flexible and open to learn other tools that may suit the situation better. In the post I don't bash any other languages at all. In fact, I encourage people to learn other languages too. At the end of the day, it'll help you evolve your thinking process and extend your ski…

Not saying you bashed languages, but made a good argument for PERL. And the points were good and provided substance. Which, personally, I find useful and will likely guide me to look into things I may not know or revisit something I don't know. PERL might be the exception.

What I liked about the post - it didn't focus on hype, like that around NodeJS (it's badass rock star tech); additionally it brought up a language no so en vogue.

Keep up the good work.

Re: Why Did I Choose Perl When Building Crowdtilt?

#97

There is some decent justification in there, but I think the generic question, in a lot of questions is: Why did I choose to build X with Y? The generic answer is usually: Because it is what I know. The extended answer may include particular features of the language or environment or it may include the support provided by a particular cloud infrastructure. As an example, the stuff I am personally working on now, I mo…

There are always tradeoffs, but sometimes you can find "the best tool for the job". And that may or may not be the tool that you know. You gotta be flexible and open to learn other tools that may suit the situation better. In the post I don't bash any other languages at all. In fact, I encourage people to learn other languages too. At the end of the day, it'll help you evolve your thinking process and extend your ski…

[deleted]

Re: Why Did I Choose Perl When Building Crowdtilt?

#98
post #94

Earlier quoted context omitted.

"As has been alluded to in another comment: Which other languages that compare to perl have you actually looked at?" I am very familiar with all of the languages that you mention. They are all great languages in their own right. My comment however was about Perl's ability to easily evolve the core language via contributions from its community, as opposed to other languages that require a lenghty process performed by…

"People have had to deal with Perl code that they do not understand. It may have been poorly written, or it may have been perfectly written Perl code. If you do not take the time to learn Perl, you would not know the difference." The problem is that Perl's TIMTOWDI culture and the inconsistent evolution of the core language make learning "enough" Perl harder than learning e.g. "enough" Python.

Python's "one obvious way" to do things changes over time too!

Re: Why Did I Choose Perl When Building Crowdtilt?

#99

Earlier quoted context omitted.

Perl lets you add new language keywords which take effect during the parse phase.

So, basically, Perl has macros? REAL macros? Like, say, in Lisps? Could I, for example, make fully inlined merge sort, as demonstrated a couple days ago here by a post from Racket blog? Now I'm curious.

Perl 5's parser manipulation doesn't go as far as manipulating an AST, yet. I would like that, but Lisps still have a strong advantage there.

Re: Why Did I Choose Perl When Building Crowdtilt?

#100
post #4

I wonder if this will make hiring easier or harder in the valley?

Hiring people willing to work in Perl isn't that tough. Hiring experienced Perl developers with experience solving specific issues is tougher. Hiring a experienced Perl hacker that's fully embraced something front-end development using Extreme Programming is going to be virtually impossible in your local area. I'm a recruiter w/ first hand experience trying recruit for many languages, and I find Perl-based posotions…

Part of the problem is that people like me tend to prefer to work remotely, work on contract, and get paid more than $35 an hour.
Post reply on HN