Python Forum
Approach to coding, good/bad
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Approach to coding, good/bad
#22
Comments, good names, tests (manual and automatic), good documentation, and well factored code are all part of the process. They should all be taken into account. Leaving out any piece just brings a weakness to your code.

And opposed to test first programming, I prefer comment first programming. Write out the function signatures and class declarations, but instead of filling them with code, fill them with comments on how things are going to work. Make yourself think through everything that is going to happen, so you can see where the parts aren't going to work with each other. This allows you to fix a lot of problems without ever having to redo any code. It also makes writing the code tremendously easier.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
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 788 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