Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^2: Perl Gtk3 Tutorial

by kevinp (Novice)
on Sep 14, 2012 at 11:01 UTC ( #993697=note: print w/replies, xml ) Need Help??

in reply to Re: Perl Gtk3 Tutorial
in thread Perl Gtk3 Tutorial

Thanks, some helpful comments and I will inlcude them.

Gtk3 is very like gtk2, but my experience is that you can rarely just change gtk2 to gtk3 and expect it to work. Small changes that are minor issues for veteran coders become complete major roadblocks for beginners.

The tutorial was really aimed at beginners, particularly my 15 year old son and his friends. I included "use diagnostics" to give new users some more feedback, although I often find it more verbose than helpful myself.

I am debating about whether to include complete programs in tutorial. On the downside it makes it repetitive and excessively long; on the plus side everything is in one place. I think at this stage I will continue getting the examples written and base text down and ponder the formatting a little longer.

I will include an example of passing an array ref back as $userdata and include examples avoiding using globals when not necessary.

Replies are listed 'Best First'.
Re^3: Perl Gtk3 Tutorial
by Anonymous Monk on Sep 14, 2012 at 19:46 UTC

    I am debating about whether to include complete programs in tutorial.

    At the very least include them at the end, made from the exact code from tutorial, and make sure they run, and provide Devel::VersionDump output in a  =head1 PREREQUISITES section as an example of a configuration know to work

    Its frustrating to try tutorials, and when you piece the code together, then find the author omitted something crucial or made a typo -- esp for beginners

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://993697]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2018-05-27 23:34 GMT
Find Nodes?
    Voting Booth?