• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What is the way to explain a java application code to someone?

 
Ranch Hand
Posts: 2925
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have to explain a java application code to people in my team. Should I make plain text notes and explain or some diagrams ?which
diagram?UML or sequence diagrams?

thanks
 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In fact, to any ideal programmer, there is often times no need to explain application source code. In real world, this is however not the case. Your best bet would be to draw some pictures that represent data flow and explain that to your team.
 
Bartender
Posts: 10780
71
Hibernate Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Monica. Shiralkar wrote:I have to explain a java application code to people in my team. Should I make plain text notes and explain or some diagrams ?which
diagram?UML or sequence diagrams?


As with any question like this: it depends.

Is your audience going to be familiar with any/all of the things you listed? If so, use 'em by all means, and personally I'd favour diagrams over text wherever possible.

Also: Use javadoc. Copiously. Methods, fields, classes and packages; and include lots of @link and @see links when you're writing it. If you're in a lab environment, this will allow to you simply refer your audience to the API.

3. Write dumb code - in the event that you have to get down to the nitty-gritty of actual source code, this will save you a lot of time explaining exactly how everything works, since it should be fairly obvious.

Which bring us to a final point: What is the point of this presentation? To explain what the application does, or exactly how it does it? In the latter case, you're likely to need to give your audience access to source code, and personally I'd stick to portions that demonstrate particular techniques or patterns that you've used. After all, if they're members of your team, one would presume they're also programmers, so you shouldn't need to explain every line of code to them.

My 2¢. HIH.

Winston
 
Monica Shiralkar
Ranch Hand
Posts: 2925
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Is your audience going to be familiar with any/all of the things you listed? If so, use 'em by all means, and personally I'd favour diagrams over text wherever possible.



Audience in this case is 'my manager'. Are sequence diagrams related to this? or it is for different thing.

thanks
 
Marshal
Posts: 28226
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's sort of helpful, but more information would be useful. For example, is your manager a former (within the last 3 years) programmer, or an accountant who knows nothing about programming, or what? You can imagine that you would use different explanations in those two cases.

(Which is a longer and more detailed way of reiterating "It depends".)
 
Monica Shiralkar
Ranch Hand
Posts: 2925
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

s your manager a former (within the last 3 years) programmer, or an accountant who knows nothing about programming,



He might have done java long long back.
 
Forget this weirdo. You guys wanna see something really neat? I just have to take off my shoe .... (hint: it's a tiny ad)
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic