Results 1 to 5 of 5
  1. #1
    Java_Lover is offline Member
    Join Date
    Apr 2010
    Location
    Virginia, USA
    Posts
    12
    Rep Power
    0

    Default Anyone use flow charts?

    I've searched the forums for UML and flow charts but did not see anyone talk about whether they use them or not. I'm interested in knowing the process which real developers, not newbs, go about designing a moderately complex program. Do you use any diagramming tools, hand write what your classes/logic will do in plain English or utilize some other method?

    I'm new to Java and would like to learn what most books don't teach you - how to actually design a program. Most books teach the language itself and not the, in my opinion, the larger overview of putting the logic together to create a uniform program. Your thoughts or any resource (book or online) that you find helpful would be appreciated.

    If my question or what I'm looking for is not clear, let me know.

    Thanks for your time :)

  2. #2
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    I'm still fairly new as well and haven't don't anything too large, however; I can almost guarantee and good large program will also had good planning and be well thought out before development begins. In a project with 100000+ lines of code it will be too hard to maintain and develop well without planning ahead.

    Try google stackoverflow for good design books. I generally find stack overflow containing lots of good information.

  3. #3
    Java_Lover is offline Member
    Join Date
    Apr 2010
    Location
    Virginia, USA
    Posts
    12
    Rep Power
    0

    Default

    Sunde,

    What method do you use when designing a program? I was taught flow charts in high school but have learned later in life to write out the steps in plain English. I mostly do PHP/MySQL and I get annoyed when I miss a step or I have to re-write a script because I overlooked a logical step. With Java being a bit more complex for what I intend to do with it, I can't afford to re-write portions of the program so that is why I want to invest some time perfecting the design side of programming.

    I will take a look at stackoverflow.

  4. #4
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,663
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by Java_Lover View Post
    What method do you use when designing a program? I was taught flow charts in high school but have learned later in life to write out the steps in plain English. I mostly do PHP/MySQL and I get annoyed when I miss a step or I have to re-write a script because I overlooked a logical step. With Java being a bit more complex for what I intend to do with it, I can't afford to re-write portions of the program so that is why I want to invest some time perfecting the design side of programming.
    You have to be realistic about it: you always have to redesign and rewrite parts of your code; no design is perfect from scratch and after you have implemented the whole shebang you see parts that can be improved. Have a look at 'refactorings' (also used as a noun). Martin Fowler is one of its messaiahs. Those refactorings are ranging from trivial to quite interesting and can improve your design (and implementation) gradually.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  5. #5
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    I Haven't done much large programming yet so I dont use too much planning. Most of my planning is a quick thinking period about what I will need and then I just constantly try to think about how I am doing something. I always assume I could has done things better and try to find the bad points. Try reading up on design patterns as well. You may find them to be a useful thing to be aware of.

    Finally, you will most likely have to re write things. Especially if you are newer because you can always learn more/better techniques.

Similar Threads

  1. Need Help for JSF Charts
    By maulikmodi08 in forum JavaServer Faces (JSF)
    Replies: 0
    Last Post: 03-22-2011, 11:29 AM
  2. How to generate Data Flow Diagram(Work Flow Diagram)
    By stsivaraj in forum AWT / Swing
    Replies: 1
    Last Post: 12-22-2010, 11:21 PM
  3. JSP charts and graphs
    By maas in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 11-29-2010, 10:28 AM
  4. Charts using iReports
    By roshni in forum Advanced Java
    Replies: 1
    Last Post: 04-21-2009, 07:42 PM
  5. Charts - Pie CHarts
    By null_guy in forum New To Java
    Replies: 0
    Last Post: 03-10-2008, 10:22 PM

Tags for this Thread

Posting Permissions

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