3 ms·
I'm not sure where this notion of UML diagrams as a silver bullet against technical debt is coming from. The whole OOAD development methodology that UML adopti
by zozbot234 4y ago
I'm not sure where this notion of UML diagrams as a silver bullet against technical debt is coming from. The whole OOAD development methodology that UML adoption was predicated on is the opposite of serious or rigorous; you can't just translate domain-level "objects" into a design and expect to end up with something sensible, that's not how it works. (In fact, unless some well-defined part of a system really has meaningful invariants that it cares about and should preserve, there's arguably not much of a real reason to even make an "object" out of it.)
- im_down_w_otp 4y agoI tend to agree with this. If UML or something UML-like offers value in terms of understandability at some level of abstraction as a substitute for needing to hold the detailed mental model of the entire explicit implementation in one's head, then using it as something extracted from the implementation to provide a simplified sketch of it makes more sense than using it as an input artifact to creating the implementation.
- 29athrowaway 4y ago
- zozbot234 4y agoThis might be relevant if UML made software easier to survey, review and/or audit. I don't expect this to be the case. (Which is not to say that other plausible solutions don't exist. For instance, an advanced type system often does a good job of surfacing the broad "design" of a piece of software.)
- toast0 4y agoI get that there are worlds where formal methods are useful and excel. In my professional experience, nobody was willing to spend the time to write a formal specification (or much of any specification), because the specifications were subject to change at the whim of a hat. If there's no specification, there's no way to use formal methods. If there's no specification, producing UML makes even less sense than otherwise. How do you check if the UML matches the desired software? How do you check if the software matches the UML? How do you ensure the changes to the UML propagate to the software and vice versa? How do you examine the changes in the UML? Where are the case studies showing how UML was used successfully?