Love to get some feedback on my first python app!!!

Mark Lawrence breamoreboy at yahoo.co.uk
Mon Sep 22 18:10:24 CEST 2014


On 22/09/2014 12:47, vek.m1234 at gmail.com wrote:
> 1. It's feedback not a mathematical proof.

What is?

> 2. I hope the OP tries what I suggested - it's all entirely optional.

Which is?

>
> @OP
> I have no idea what that program does because it's well commented. You aren't using variable and function names to good effect and are resorting to excessive comments.
>
> Additionally, I think you are mangling your display text but I'm not sure.
> textDisplay.insert should be a function that you pass args to.
>
> def spit_msg(text):
>      textDisplay.insert(text)
>
> spit_msg("go away doo doo bird")
>
> Any time you see repeated text in your program, wrap it in a single func and simplify.
>
> try:
> def create_root_window():
>   rather than letting all your funny parts dangle around naked.
>

Google groups rides again?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list