Results 1 to 29 of 29

Thread: So...why not?

Threaded View

  1. #11
    PowerPoster
    Join Date
    Nov 2002
    Location
    Manila
    Posts
    7,629

    Re: So...why not?

    Structured programming forces you to step back every now and then and get a feel for the bigger picture on how the short pieces of algorithm best fit together... rather than just limiting your view to where you are and where your gonna jump to next...

    My impression is that your stuck in no man's land and not getting the benefits of both sides. Your not a true spaghetti coder but not a true structured prorgammer.

    You impose structure on your code (eg. avoiding crossing of Gotos, etc) but didn't exert more effort to make it more structured without the Gotos. You don't use procedure calls (and get the benefit of debugging with Call Stack Viewer) and instead create long streams of code... which you make "modular" by segragating with labels. Your using assembly language coding practices on an OOP language.

    And then there's the problem of managing your references... by jumping around you may leave numerous object references which can cause memory leaks, or acciedntally reset the data of object in an intermediate jump, and other unforseen problems... it will become more and more difficult to debug in time.

    Your non conformance to was is expected as appropriate simply because it still works will lead to confusion and difficulties for those who will be reading/updating your code in the future.
    Last edited by leinad31; May 10th, 2006 at 07:42 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width