home | list info | list archive | date index | thread index

Re: Suggestions on ways to learn better coding

I played with wxpython https://en.wikipedia.org/wiki/WxPython for a similar app to make it cross platform. My dad ended up using Lazarus (pascal) to make something compilable on Windows and Linux.
I should put the code up on my github eventually.

On July 16, 2020 10:01:49 J C Nash <profjcnash [ at ] gmail [ dot ] com> wrote:

Partly because I wanted a tool more suited to my needs, and partly
to learn Python GUI programming, I decided to write a little program
to allow me to see and edit the COM tag in jpg image files. I also
wanted to rename the files as part of a larger archiving and
genealogy project.

I've done the head-banging bit of the learning task to the extent
that the pain is largely fading, but I'm sure my code is far from
elegant or optimal. I'm now wondering how I might improve it. Some
years ago, there was a Perl group and we got together and did some
code-walking. It seems that a Hangouts / Zoom / ... for that sort
of exercise might work. Or a forum where code is modified and
discussed. I have found forums where specific problems are brought
up  (and, if I may opine, often badly answered. I've spent a lot of
time trying out things that were very buggy or just didn't work
at all). However, places to present code as an ensemble and to
improve the overall elegance and maintainability seem missing.
This seems especially so for the tkinter style of GUI programs
I've been trying to build.

Suggestions of how to move my code to the next level would be
welcome. If anyone is interested, I've put the jpg comment
field program at
http://web.ncf.ca/nashjc/CodeExamples/

This will likely be part of a discussion planned for the
September online Linux-Ottawa meeting, where I'll be talking
about managing photo collections and the tools therefore,
including some very nasty discoveries with programs that
failed to save files.

Best,

JN


To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
To visit the archives: https://lists.linux-ottawa.org