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

Re^5: RFC: Swagger-codegen for Perl

by TGI (Parson)
on Jun 05, 2015 at 21:02 UTC ( [id://1129257]=note: print w/replies, xml ) Need Help??


in reply to Re^4: RFC: Swagger-codegen for Perl
in thread RFC: Swagger-codegen for Perl

IMHO, Moose is a pretty big dependency to add. All that we need here are vanilla objects. Blessed hashes are fine.

Raisin manages to tie type information into Swagger merely with Type::Tiny. So even creating documentation doesn't need Moose.


TGI says moo

Replies are listed 'Best First'.
Re^6: RFC: Swagger-codegen for Perl
by Anonymous Monk on Jun 06, 2015 at 01:19 UTC

    IMHO, Moose is a pretty big dependency to add....

    You know whats an even bigger dependency? Java :)

    Also, Moose is not the point, code reuse is the point

    Instead of generating code that issues a few has attribute/does calls, its just copy/pasting a lot of the details that should live in seperate modules (baseclass, objtypes , roles, validators ... whatever )

    Also, Moose/Moo/Mo whatever

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1129257]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-23 06:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found