Python Forum
Approach to coding, good/bad
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Approach to coding, good/bad
#5
My coding approach is a more or less the "inside-out" one. I try to split the problem into manageable parts, then write these parts with functions that I try to keep small and focused. Since most of my professional coding is server code that's hard to debug on the fly, I test my functions very throughly on the side before adding them to the code (I'll often write as much "test" code as "production" code). I'll even change the design to isolate the "hard" parts in pre-testable functions. Once all this is working I put the bricks together with some glue code to make the final application.

I do like the current trend of starting by writing the (automated) tests, then writing the app is just debugging an empty source file (or source code repository).
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Reply


Messages In This Thread
Approach to coding, good/bad - by j.crater - Mar-22-2017, 01:37 PM
RE: Approach to coding, good/bad - by sparkz_alot - Mar-22-2017, 01:56 PM
RE: Approach to coding, good/bad - by micseydel - Mar-22-2017, 05:45 PM
RE: Approach to coding, good/bad - by Larz60+ - Mar-22-2017, 05:54 PM
RE: Approach to coding, good/bad - by Ofnuts - Mar-22-2017, 08:45 PM
RE: Approach to coding, good/bad - by ichabod801 - Mar-22-2017, 09:22 PM
RE: Approach to coding, good/bad - by Ofnuts - Mar-22-2017, 09:34 PM
RE: Approach to coding, good/bad - by nilamo - Mar-22-2017, 09:45 PM
RE: Approach to coding, good/bad - by Larz60+ - Mar-22-2017, 09:46 PM
RE: Approach to coding, good/bad - by wavic - Mar-22-2017, 10:32 PM
RE: Approach to coding, good/bad - by teenspirit - Apr-13-2017, 04:28 PM
RE: Approach to coding, good/bad - by Larz60+ - Apr-13-2017, 07:13 PM
RE: Approach to coding, good/bad - by volcano63 - Apr-19-2017, 09:55 PM
RE: Approach to coding, good/bad - by Ofnuts - Apr-22-2017, 12:34 PM
RE: Approach to coding, good/bad - by volcano63 - Apr-23-2017, 07:16 PM
RE: Approach to coding, good/bad - by Ofnuts - Apr-23-2017, 09:19 PM
RE: Approach to coding, good/bad - by volcano63 - Apr-23-2017, 09:45 PM
RE: Approach to coding, good/bad - by sparkz_alot - Apr-23-2017, 09:53 PM
RE: Approach to coding, good/bad - by ichabod801 - Apr-23-2017, 10:46 PM
RE: Approach to coding, good/bad - by ndc85430 - Apr-28-2017, 06:03 AM
RE: Approach to coding, good/bad - by volcano63 - Apr-28-2017, 02:54 PM
RE: Approach to coding, good/bad - by ichabod801 - Apr-29-2017, 01:06 AM
RE: Approach to coding, good/bad - by Larz60+ - Apr-29-2017, 01:26 AM
RE: Approach to coding, good/bad - by Ofnuts - Apr-29-2017, 06:35 AM
RE: Approach to coding, good/bad - by Larz60+ - Apr-29-2017, 11:54 AM
RE: Approach to coding, good/bad - by Ofnuts - Apr-29-2017, 03:07 PM
RE: Approach to coding, good/bad - by nilamo - Apr-29-2017, 01:47 PM
RE: Approach to coding, good/bad - by ichabod801 - Apr-29-2017, 03:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to approach pyusb application arch m3atwad151 0 752 Nov-10-2022, 06:11 AM
Last Post: m3atwad151

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020