Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: One for the weekend: challenge

by Anonymous Monk
on May 31, 2008 at 00:31 UTC ( #689368=note: print w/replies, xml ) Need Help??

in reply to One for the weekend: challenge

The deck is pretty-well “stacked” in favor of LISP on this one:   the nature of the problem lends itself particularly well to recursive solution and to so-called “pragmatic programming” (a LISP specialty in which programs build lists and then execute those lists).

I generally don't think that it's too useful to compare “language to language” without first giving very careful consideration to what it is that you are trying to do. Languages are tools... nothing more. You need to evaluate a great many non-computer factors when deciding what language(s) to deploy against a particular business task.

Replies are listed 'Best First'.
Re^2: One for the weekend: challenge
by BrowserUk (Pope) on May 31, 2008 at 01:06 UTC

    You might be surprised! But, I didn't post it for that reason.

    It's purely an exercise in seeing how people approach the problem in Perl, and then attempting to come up with some measure of "goodness" for those approaches.

    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://689368]
[Yaerox]: I feel like i'm not seeing the forest for the trees. Can someone give me a hint how to research converting all kinds of files into ansi? If origin file is utf8 convert to ansi, is origin file is ansi then skip file.
[1nickt]: Yaerox probably best to whip up an SSCCE demonstrating the failure in what you have now and post to SoPW as a question.
[Corion]: Yaerox: That's a somewhat hard problem. Encode solves the conversion part, but for guessing what encoding a file is in, that's the hard part
[Corion]: Yaerox: There is Encode::Guess, but that needs a limited set of inputs, and it also cannot handle multiple single-byte encodings

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2017-03-28 13:13 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (331 votes). Check out past polls.