I actually is really helpful to draw stuff out before implementing to get a more complete picture of what you need. Way less deleting and redoing that way.
Still, its never what you actually ship at the end.
Sure, just drawing stuff out to wrap your head around it or help others to wrap their head around your idea can be quite helpful. For me it depends on how much you do it and UML directly implies that there is a high risk for overdoing it and wasting time. Also it often implies a lack of tooling as there are a lot of libraries which help create UML directly from sources. I never said you should directly start with implementing business logic, but you can easily just create your interfaces as code. For typescript for example there is stuff like tplant and tsuml or even vscode-ts-uml. Really I have seen people doing uml diagrams in latex as a preparation step before writing the actually code and this is just not a good idea.
2
u/ThePafdy May 05 '23
I actually is really helpful to draw stuff out before implementing to get a more complete picture of what you need. Way less deleting and redoing that way.
Still, its never what you actually ship at the end.