i know everyone keeps saying that one needs to be using classes and not just functions, but so far i haven't had any problems with functions aside from the fact that everyone's using them and when i see the help in any of the forums it's all in classes form,
my question is
im working basically with wx python, mainly doing interfaces for applications and nothing too fancy, connecting small databases and what not,
should i be migrating to classes? will it give me anything extra? i won't be using inheritance as i never saw it necessary in GUI's, but it keeps bothering me that i can't use the "self" thingy that everyone's using all around,
if i should actually do that, if i already have like a 1000 line code now i;m working on, is there an easier way to migrate, and understand what's going on?
i read a bunch of tutorials about classes, they're just plain confusing because i understand how they "hypothetically " be used in inheritance and all that, but i never really understand how i cld use it in daily life programming, especially with the level i;m working on,
really appreciate any comments or answers,
i just need to understand the whole fuss
any examples of a use of classes with wx that actually lead to something would be really appreciated
thanks
T
my question is
im working basically with wx python, mainly doing interfaces for applications and nothing too fancy, connecting small databases and what not,
should i be migrating to classes? will it give me anything extra? i won't be using inheritance as i never saw it necessary in GUI's, but it keeps bothering me that i can't use the "self" thingy that everyone's using all around,
if i should actually do that, if i already have like a 1000 line code now i;m working on, is there an easier way to migrate, and understand what's going on?
i read a bunch of tutorials about classes, they're just plain confusing because i understand how they "hypothetically " be used in inheritance and all that, but i never really understand how i cld use it in daily life programming, especially with the level i;m working on,
really appreciate any comments or answers,
i just need to understand the whole fuss
any examples of a use of classes with wx that actually lead to something would be really appreciated
thanks
T
Comment