8 Replies - 1063 Views - Last Post: 10 July 2012 - 02:44 PM

#1 BrendanH  Icon User is offline

  • D.I.C Head

Reputation: -2
  • View blog
  • Posts: 174
  • Joined: 05-May 12

Using UML Diagrams

Posted 10 July 2012 - 11:36 AM

When starting a program from scratch how useful would it be to use a ULM diagram?
And how often to programmers use them?
Is This A Good Question/Topic? 0
  • +

Replies To: Using UML Diagrams

#2 totgeburt  Icon User is offline

  • D.I.C Head

Reputation: 57
  • View blog
  • Posts: 227
  • Joined: 03-August 11

Re: Using UML Diagrams

Posted 10 July 2012 - 11:38 AM

View PostBrendanH, on 10 July 2012 - 06:36 PM, said:

When starting a program from scratch how useful would it be to use a ULM diagram?
And how often to programmers use them?


I find UML quite nice for mapping logic and i use UML diagrams all the time. the code is easy to write after you create a diagram for it. i'm just going to school right now for programming though, i don't have professional experience, but i imagine a pro would say the same.
Was This Post Helpful? 1
  • +
  • -

#3 jon.kiparsky  Icon User is offline

  • Pancakes!
  • member icon


Reputation: 8002
  • View blog
  • Posts: 13,711
  • Joined: 19-March 11

Re: Using UML Diagrams

Posted 10 July 2012 - 11:52 AM

View PostBrendanH, on 10 July 2012 - 01:36 PM, said:

When starting a program from scratch how useful would it be to use a ULM diagram?
And how often to programmers use them?



I've hardly ever looked at a UML diagram since CS110. To me, they convey almost no information at all, and there are some really wrong design decisions that obfuscate the information they do carry, and they're not used where I'm working in any case.
The only time I need to extract some information from them is when I'm reading something about design, and then it's either a mindless reflexive decoration to a well-written text or a hopeless last-ditch attempt to save incoherent writing, and usually incoherent thought as well - again, seldom any help at all.

YMMV
Was This Post Helpful? 0
  • +
  • -

#4 BrendanH  Icon User is offline

  • D.I.C Head

Reputation: -2
  • View blog
  • Posts: 174
  • Joined: 05-May 12

Re: Using UML Diagrams

Posted 10 July 2012 - 12:00 PM

jon.kiparsky sorry im not sure on what CS110 is.
How do you go abouts planning out a program you want to put together?

This post has been edited by BrendanH: 10 July 2012 - 12:04 PM

Was This Post Helpful? 0
  • +
  • -

#5 jon.kiparsky  Icon User is offline

  • Pancakes!
  • member icon


Reputation: 8002
  • View blog
  • Posts: 13,711
  • Joined: 19-March 11

Re: Using UML Diagrams

Posted 10 July 2012 - 01:05 PM

CS110 was Computer Science 110 - my first Java course. We went over UML, and I read Fowler's little book on it, and I found it was pretty useless.

Designing an application for me is a matter of description. I describe what I want to do, functionally, and that tells me what sorts of data I'm manipulating and what I'm doing with it, and it gives me ideas of what sorts of flexibility and rigidity I want, and then I have an idea of a model.
Then I start sketching out skeleton classes, to see if they fit together the way I think they will. If I'm working with someone, we argue about it, hopefully in a friendly way, and try to look around the corners and find the cases where a given design ties us too tightly or leaves too much flexibility, and generally we come up with a design that way.
There's often a lot of whiteboard, but it's not a formal modeling process, it's drawing lines between boxes to see if it looks pretty or ugly, and to confirm that we're talking about the same things.
I guess my real issue with UML is the degree of needless formalism, not with the idea of a visual representation of a class structure.
Was This Post Helpful? 0
  • +
  • -

#6 DarenR  Icon User is offline

  • D.I.C Lover

Reputation: 497
  • View blog
  • Posts: 3,315
  • Joined: 12-January 10

Re: Using UML Diagrams

Posted 10 July 2012 - 01:36 PM

I use hand drawings most of the time made of blocks with words in them that tell me how i want to interact with each other. Then I write pseudo code (sometimes) most of the time I just write the code and change as I go.
UML are nice for some people and a pain for others. Everyone will have their own style and ways of doing things so if you liek them use them.
Was This Post Helpful? 0
  • +
  • -

#7 lordofduct  Icon User is offline

  • I'm a cheeseburger
  • member icon


Reputation: 2538
  • View blog
  • Posts: 4,641
  • Joined: 24-September 10

Re: Using UML Diagrams

Posted 10 July 2012 - 02:01 PM

I've always found UML a bit to 2-dimensional for me. On a super small scale, it doesn't hurt, but for most large projects... it just doesn't convey what's going on accurately.
Was This Post Helpful? 0
  • +
  • -

#8 jon.kiparsky  Icon User is offline

  • Pancakes!
  • member icon


Reputation: 8002
  • View blog
  • Posts: 13,711
  • Joined: 19-March 11

Re: Using UML Diagrams

Posted 10 July 2012 - 02:22 PM

View Postlordofduct, on 10 July 2012 - 04:01 PM, said:

I've always found UML a bit to 2-dimensional for me. On a super small scale, it doesn't hurt, but for most large projects... it just doesn't convey what's going on accurately.



Ironically, it's the big projects where you most need a visualization of that sort...
Was This Post Helpful? 0
  • +
  • -

#9 lordofduct  Icon User is offline

  • I'm a cheeseburger
  • member icon


Reputation: 2538
  • View blog
  • Posts: 4,641
  • Joined: 24-September 10

Re: Using UML Diagrams

Posted 10 July 2012 - 02:44 PM

Yeah, that's the catch 22.

But like you, I just go with my own 'home rules' for designing my projects.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1