3 ms·
I never found UML useful at all. A complete waste of time. YMMV.
by theflyingelvis 4y ago
I never found UML useful at all. A complete waste of time. YMMV.
- mettamage 4y agoWhen I was learning how to program, I programmed a graphics engine. It was about 10K lines of code, my first 10K in a single project. At one point I was making an object loader and didn't understand what hashmaps and hashtables were. I was making mistakes, debugging constantly and the complexity grew over my head. I sketched out a quick 'n dirty class diagram and how everything related. Whenever I got stuck or confused, I'd look at the class diagram. I'd see where I was and noted to myself what I already implemented and what still needed to be implemented. I also asked myself if I was stuck with a high level (UML) issue or more a low level issue (not understanding a certain datastructure). That class diagram was my rock and emotional support in coding up that object loader. So UML does have its place: if it gets too complex, but you know the design, draw out a UML-like diagram (or other diagramming methods) and it'll allow you to not have the high level picture in mind: it's right behind you on the whiteboard. Other than that, yea proper UML has never worked for me.
- bigDinosaur 4y ago'Proper' UML not working for you is the entire problem. UML had some good ideas, but none of those good ideas are unique to UML. Drawing things and the relationships between things is awesome.
- gjulianm 4y agoI've used UML to communicate certain things about code. Class or sequence diagrams are great tools to explain code structure or workflow. Of course it's not very frequent that I need to use them, but they're still useful.
- jsmith45 4y agoSure, but were those diagrams even conforming UML? And should they be? I don't see a lot of value in UML's standardizing +,-,#,~ as access specifiers, vs just using the relevant language keywords. Generally, unless people are using CASE tools, I tend to see them draw non-conforming diagrams that just roughly resemble what the UML spec says, and that is almost always good enough. Diagrams are good, but having to worry about N different type of arrow heads, if a line should be solid or dashed, semi-obscure access symbols, etc is not good. and strictly speaking if you are not concerned about those things you are not actually using UML. The exception is that nobody can ever convince me that a UML-style usecase diagram is better than alternatives like user stories.
- jq-r 4y agoIt was definitely a waste of my student time. I had to take the class on my second year and spent a semester learning UML because the professor was all into it. We've just heard about OOP at that time, the biggest achievement was being good at Delphi, most of the class had trouble writing a hello world in any language. The problem was also that the prof was always modelling some accounting/business "problems" which we also had no idea/experience about. So it was about learning couple of things all at once with very fragmented information. It was a disaster of class, and turned me off out of both UML and OOP. The latter I'm still sour about.