DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Deisgn of applications at home  (Read 7,359 times)

mnemonic

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 177
    • Programming School - Stage 1 Medal
    • Programming School - Deluxe Bonus Medal
    • Participated in NANY Challenge Once
Deisgn of applications at home
« on: March 23, 2009, 06:53 PM »
At work, we design Java applications using "UML as a blueprint", having separate people designing and coding the applications.  Although this is a tedious and long-winded process (mainly due to the synchronisation of the UML classes and the developed classes), generally the objects designed reflect the developed classes that go-live.

During coding at home, I've always tended to jump straight into coding applications - almost always meaning a complete overhaul of the objects halfway through the development process due to them becoming "just a load of barely-related subroutines".

Does anyone do any up-front design on their applications when working on an application where they are the sole developer?  Or, does the whole "re-architect half-way through development" always happen and it just gets better with experience?

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,954
Re: Deisgn of applications at home
« Reply #1 on: March 24, 2009, 01:05 AM »
Deisgn of applications at home....

The title says it all  ;) :P

And yes, you should design a piece of software (general functionality)  on paper or in a document first. In the end you will be faster done and it usually ends up in more understandable (and re-usable!) code. It makes the creation of documentation also easier. Also, it doesn't hurt to take some good work habits to your home.  :)

The easy path is usually downhill...

mnemonic

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 177
    • Programming School - Stage 1 Medal
    • Programming School - Deluxe Bonus Medal
    • Participated in NANY Challenge Once
Re: Deisgn of applications at home
« Reply #2 on: March 24, 2009, 07:03 AM »
Not only dodgy spelling in the title, but I also mixed classes and objects up all over the place  :D

Do you create UML diagrams (class, sequence and activity?) or is it just a "whatever works"?

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,954
Re: Deisgn of applications at home
« Reply #3 on: March 24, 2009, 02:17 PM »
Nope, scared to admit it...but I'm still a pen & paper guy.
The easy path is usually downhill...

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Deisgn of applications at home
« Reply #4 on: March 24, 2009, 04:53 PM »
I enjoy planning stuff on paper and always spend some time planning before coding.

I've also learned that no matter how much planning you do.. it's almost never the case that things don't change during development, and you have to accept and expect that.

More and more I find myself in the "plan to throw one away; you will, anyhow" camp.

This isn't always (often) feasible, but i find it a useful approach if you are someone like me who can spend excessive time planning and can sometimes get stalled in the planning stages because you can't seem to get everything locked down and figured out.  In times like that, trying to solve everything before you start coding can feel like a marathon where the finish line keeps getting moved back.  Deciding to just start coding a first experimental version i think can be the trick that unblocks you.

If you look at it like that, then "jumping in and starting to code with little planning" actually IS PART OF THE PLANNING (but only if you actually stop and throw away the first version and do a round of planning before moving on to the final version).

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 11,205
    • Participated in NANY Challenge Fourteen Times
    • Coding Snacks
    • Writer
    • Hardware Hacker
Re: Deisgn of applications at home
« Reply #5 on: March 24, 2009, 05:18 PM »
I plan to a limited extent.  But I often find myself in the design often, never build category; every time I get ready to develop, I end up revising the design again.  :-[

But I do notice that when I actually get into a project, it tends to go smoother than the ones at work where they never give enough time to design... ::shrug::

Original address: https://www.donationcoder.com/forum/index.php?topic=17580.0