10

Are there more people here who prefer codual over visual?

UML diagrams are fun and all, but I personally prefer to have a code example over an uml diagram when it comes to a few classes that work together. Not exactly sure why I prefer it that way, in my head I translate uml to code in order to understand it better and if you show me a piece of code I don't have to do that translation.

I wonder what you guys' thoughts are 🤔

Comments
  • 3
    When I use UML I mostly use flow diagram to see the big picture of communication between multiple services, describe some complicated process.
    That helps me understand and solve some problems also this diagram makes easier explaining people how data traverse from user trough the applications, optimize some processes etc.

    Good method / class naming and code convention is still better then every diagram.
  • 3
    UMl isn't suppose to explain code, it's suppose to explain how processors work at a high level so even a business user could vaguely understand that, "data a" goes from your screen on the left, down this chunk of checks, into a service... or 6, and then gets spat out over on the screen to the right in that system / application a few seconds or minutes later depending on the number of processors in between.

    Code is low level compared to this.
  • 4
    I hate it when there's a project with tons of detail documentation but nothing tells what it even does and how the overall architecture looks like. That's when you don't find the forest because all those trees block your view.
  • 1
  • 1
    If you work for the government, some projects have to have complete UML diagrams for things as low level as classes. 🤮
Add Comment