Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Migrating from Perl to other language? Why would someone do that?

by hippo (Monsignor)
on Nov 21, 2013 at 23:35 UTC ( #1063836=note: print w/replies, xml ) Need Help??


in reply to Re: Migrating from Perl to other language? Why would someone do that?
in thread Migrating from Perl to other language? Why would someone do that?

It is also possible to write absolute impenetrable crap, but that is true in any language.

This is every bit as true today as it was back in '82 when Ed Post wrote the seminal Real Programmers Don't Use Pascal. This treatise includes the oft-since-quoted maxim, "the determined Real Programmer can write Fortran programs in any language."

To the OP I say: Look around the code posted on this very site. You'll see Perl written by folks which looks suspiciously like C, awk, Fortran, BASIC, a whole slew of OO languages, Lua, Erlang, and some that's close to line noise. Try looking under ACME:: someday to see just what monstrous things can be done by the determined Perl Programmer.

However, we also see examples of supremely elegant code which I have to say is very rarely echoed in other languages with which I am familiar. In the right hands Perl can be succinct, clear and powerful.

  • Comment on Re^2: Migrating from Perl to other language? Why would someone do that?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1063836]
help
Chatterbox?
[stevieb]: james28909: what's the problem/question?
[james28909]: it is not an absolute date like "27" or "31". sometimes it is like wednesday or friday
[james28909]: and i need to format those special instances into an absolute date instead of "yesterday"
[stevieb]: ask a question on SoPW, and include at least a half-dozen examples of the input, and at least one example of expected output
[davido]: Exactly: SoPW. This isn't going to be solved easily in the CB.
[james28909]: in need "yesterday" and so on, to be absolute like "1" or "31"
[stevieb]: ...and throw some of your existing code into the equation as well, just so readers know you've given a try at it ;)
[james28909]: ok
[stevieb]: davido thanks for the link ;) I was being the typical lazy
[davido]: date parsing is hard. The more examples you can provide of the input (within reason) and expected output, the better.

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2017-04-29 02:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.