News for hackers. Stuff that matters.
Re:Rails-like Quickly tools brings rapid development to Ubuntu by FooBarWidget on Monday August 24, 2009 @10:52AM (#782247)
If it generates a lot of code, then yes. But it may also just generate 2-3 lines of boilerplate code that's very annoying to keep typing over and over.
Re:Rails-like Quickly tools brings rapid development to Ubuntu by jsonscripter on Monday August 24, 2009 @11:04AM (#782274)
If you need to type the same thing over and over, something's usually wrong with what you're doing...
Re:Rails-like Quickly tools brings rapid development to Ubuntu by RyanMcGreal on Monday August 24, 2009 @12:58PM (#782572)
Yeah, you're not using a framework.
Re:Rails-like Quickly tools brings rapid development to Ubuntu by FooBarWidget on Monday August 24, 2009 @08:47PM (#783813)
When defining a class you need to: - Create a new file for the class. - Type the class keyword - Type the class name. - Type the parent class name. - Type the constructor definition. - Type a call to the parent class's constructor.

This is all boilerplate and can easily take half a minute. How am I doing things wrong? Are you saying there's an easier way?

Or I can just type something like "./script/generate class Foo Bar" and be done with it and save like 15 seconds.

Re:Rails-like Quickly tools brings rapid development to Ubuntu by jsonscripter on Tuesday August 25, 2009 @01:43PM (#785287)
Yeah, that's actually a pretty odd way of doing things. In perl with moose (or just perl6) you just type 'class Foo Bar' in your file and you're good to go.