[Kde-bindings] QtRuby Hello World

Alexander Kellett lypanov at kde.org
Sat Aug 2 13:24:25 UTC 2003


On Sun, Jul 13, 2003 at 03:43:48PM +0100, Richard Dale wrote:
> The original RubyQt bindings left the classnames as 'QWidget' rather than 
> 'Qt::Widget', so existing code wouldn't be compatible - I don't know if that 
> matters. And do ruby programmers prefer to have method names in lower 
> case/underscores rather than mixed case (I'd personally prefer to leave the 
> names as they are)?

i'd agree leave them as they are.
the Qt:: vs Q thing is very easy to
take in. converting c++ tutorial code
into qtruby would be much harder to do
if underscores were used. anyway. i've
had little problems up to now with it.
i just keep to using underscores for 
my own slots/signals, i actually like
this quite a bit :)

any more options (Q, lowercase/underscore)
will just end up fragmenting the coder
base so, i don't think its really a 
good idea technically, or "politically"

cheers,
Alex


More information about the Kde-bindings mailing list