Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Perl Tk coding guidelines?

by Jouke (Curate)
on Aug 09, 2001 at 17:24 UTC ( [id://103381]=note: print w/replies, xml ) Need Help??


in reply to Perl Tk coding guidelines?

It depends a lot on the kind of coding guidelines you already have. I guess most of them are still valid when you code Perl/Tk, because it still *is* Perl.

However, to improve readability of your Tk script I think it's good practice to keep your callbacks as compact as you possibly can, so either use a reference to a seperate subroutine, or use no more than 2 or three lines for it.

Maybe if you gave a few of the guidelines you already have, we would be able to extend them for Tk.

Jouke Visser, Perl 'Adept'
Using Perl to help the disabled: pVoice and pStory

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-18 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found