Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Technique to minimise mistake

 
Ranch Hand
Posts: 472
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi, good day , i always make mistake when i do coding, mistake like
- forgot do validation (for date, number field)
- testing not good enough, and user easily get error when use the application
- application not match to domain logic
- and so on for coding(web)


is that anyway to improve these ? thank you for guidance
 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Nakata kokuyo:

- forgot do validation (for date, number field)
- testing not good enough, and user easily get error when use the application
- application not match to domain logic
- and so on for coding(web)


is that anyway to improve these ? thank you for guidance



Hello,
If I could make my self immune to these problems I would probably be a famous person already.

However it seems that TDD, Unit testing and design by contract could be of help to you in regard to concerns 1 and 2. When it comes to 3. It seems that you could try to develop and manage your requirements or/and use XP's "on site customer".

For Design by contract see:
http://archive.eiffel.com/doc/manuals/technology/contract/

For Unit testing.
http://www.codeproject.com/gen/design/onunittesting.asp
http://www.junit.org/index.htm

For XP:
http://www.extremeprogramming.org/rules.html

Regards
 
Nothing? Or something? Like this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic