• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UML for ................ Book series

 
HS Thomas
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bob,
If you were to write a series of UML books what would the series look like.
Here's a few suggestions :
UML for Java Programmers
UML for Business Analysts ( most BAs shy away from the current set ; They are missing out on all the fun)
UML for Component Developers (UML 2.0 inclusive)
UML for Star Trek fans
regards
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to see everything in a single book.
 
HS Thomas
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to see everything in a single book.

You would also need a JCB to cart it around.
I imagine the actual UML content would be the same in these books , it's the surrounding language that would be different.
regards
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I remember correctly, Robert already got a request for "UML for C# Programmers"...
And next year, we will need a second edition of UMLFJP, because of generics added in JDK 1.5 (Tiger)!
 
HS Thomas
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
because of generics added in JDK 1.5 (Tiger)!

Does that take type casting away ? And therefore make it a purer OO.
regards
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by HS Thomas:
Does that take type casting away ? And therefore make it a purer OO.

It does reduce the need for explicite casts - in fact it just adds a syntax so that the compiler is able to add the correct casts automatically.
I don't think it makes Java "purer OO".
 
HS Thomas
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Illja.
I think we are keeping you busier than we are Robert Martin.
regards
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by HS Thomas:
Thanks, Illja.
I think we are keeping you busier than we are Robert Martin.

Well, you should take into account that we are living in quite different time zones - so he will probably post a whole bunch of answers while I am already sleeping...
 
HS Thomas
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Illja,
You deserve to win a book!
regards
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HS , You too deserve to win a book.
BTW, where are from HS?
Why will UML for java programmers change after java 1.5 comes out?

 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Pradeep Bhat:
[QB]Why will UML for java programmers change after java 1.5 comes out?

Java 1.5 will have generics - a special way to parametrize classes (you might know them as templates from C++). There is a special UML syntax to depict that in class diagrams, but it isn't currently covered by UMLFJP.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a special UML syntax to depict that in class diagrams, but it isn't currently covered by UMLFJP.

Is this already a UML feature or is part of UML 2.0?
 
Robert Martin
Author
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am in fact writing a series of books; but not quite the list you mentioned. The series is "Software Professionalism" by Prentice Hall. "UML for Java Programmers" is just one of the titles in the series. There will also be titles on managing legacy code, managing software projects, and a sub-series entitled "Clean Code".
If "UML for Java Programmers" does well, then I will follow it up with UML for C, C++, C#, etc. Each langauge had it's own interesting issues with UML.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Pradeep Bhat:
Is this already a UML feature or is part of UML 2.0?

It's part of UML 1.x and heavily used by C++ developers, as far as I know.
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ilja Preuss:

Java 1.5 will have generics - a special way to parametrize classes (you might know them as templates from C++). There is a special UML syntax to depict that in class diagrams, but it isn't currently covered by UMLFJP.

YUGH! One of the things I hate most in C++ (though they are powerful) are templates...
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jeroen Wenting:

YUGH! One of the things I hate most in C++ (though they are powerful) are templates...

They are soon going to be Java as well. I like it very much. When I started learning Java I was surprised that this C++ feature was missing.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Pradeep Bhat:

They are soon going to be Java as well.

Notice that the implementations are *fundamentally* different, even though the syntax is very similar.
 
HS Thomas
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Notice that the implementations are *fundamentally* different, even though the syntax is very similar.

Which language are you talking of in particular ?
Java and C++ or Java and C#.
Oh. I see it is C++.
Is it also true of JAVA and C#.

regards
[ September 12, 2003: Message edited by: HS Thomas ]
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ilja Preuss:

Notice that the implementations are *fundamentally* different, even though the syntax is very similar.

It is available for collection(i/f) classes only, I guess.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just checked a Tiger article. It does support writing parameterized type.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Pradeep Bhat:
It is available for collection(i/f) classes only, I guess.

No, it's a quite general concept.
The biggest difference is that in C++ every instance of a template becomes its own class - you will have an ArrayList<Integer> class, an ArrayList<String> class etc.
In Java, on the other hand, all instances of a "template" share one class file - the compiler just adds different casts and checks to the client code.
[ September 13, 2003: Message edited by: Ilja Preuss ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic