Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^7: A Perl vs. Java fight brews

by iguanodon (Priest)
on Jul 25, 2006 at 01:04 UTC ( #563413=note: print w/replies, xml ) Need Help??

in reply to Re^6: A Perl vs. Java fight brews
in thread A Perl vs. Java fight brews

I realize you're technically correct that you can do procedural programming with Java, but what I meant by that comment is basically what philcrow said. Although Java has some native types that are not objects, you have to instantiate objects to do anything useful. So to me that means that Java doesn't support non-OO programming.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://563413]
[choroba]: What about [metadoc:// Algorithm::Loops]?
[Corion]: choroba: Yeah, but handing off the request to Dancer,Plack, Mojolicious,LWP is easy once I have the data filled into some structure ;))
[choroba]: Algorithm::Loops
[Corion]: choroba: I'm using that to generate the permutations, but I don't know how the user can pass the intended values to my function in a sane way
[Corion]: I have a prototype that permutes the get_parameters, but the values used for the get parameters should be different from the values used for the headers and potentially for parts of the URL
[Corion]: But yes, in general, my approach will be "split the URL into another set of parameters, generate an array of allowed values for each parameter and then NestedLoops() over the set"
[choroba]: hmm... so you need something like bag from Test::Deep, but not for checking, but for generation
[Corion]: This has the dual use of easily requesting sequential URLs and also being suitable for testing
[Corion]: For testing, I want to skip all tests with the same value(s) once one test fails to cut down on the number of failing tests
[Corion]: choroba: Yes, in a way I

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2017-01-17 08:20 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (152 votes). Check out past polls.