News for hackers. Stuff that matters.
Re:All the UML you need to know by agumonkey on Tuesday October 13, 2015 @07:35AM (#10379708)
UML cannot be appreciated out of its context, both socially and technologically. It was created out of big projects at a time where big things were the norm, and then became a product with its own dose of fad, almost dogma (let's do everything in UML, ontologies, sequences, deployments; precompile it, compile it, run it...).

I found it to be a pain as a student (it clearly was a fad at that point), but every time I go back to shipped code in mainstream paradigms, I understand why people went this way. It's as boring as intractable. We don't want to code at that level, we want abstractions, but these paradigms didn't help so we needed diagrams. And it's an offspring of OOP mostly which helped reducing cpp-like complexity but not for free.

IMO UML boils down to a visual type checker. We can layout things more efficiently than with linear text, and can appreciate the relationships between parts. But in a way, that's what a type checker does. I remember never needing a diagram (for medium single person programs that is) in Eclipse since it could look at the whole system for me and show contradictions or suggest options.

I'm now very regularly tempted to do things with a bit of empty interface logic checking, FP-ish minded. You can still write this as text, and as long as it the types flow logically it's OK.

ps: this was also influenced a bit by posts like these https://www.google.com/search?q=f+sharp+uml

Re:All the UML you need to know by xefer on Tuesday October 13, 2015 @08:38AM (#10379952)
UML emerged out of the whole CASE (Computer Aided Software Engineering) movement. (Now there's a term you don't hear much any more!) Things were never well standardized and UML was an attempt to bring some sanity to the whole undertaking.

I used to work on a CASE tool early in my career. I was always struck by the fact that we never ate our own dog food; that is, we never employed the tool we were working on to guide its own construction. This was the first time my eyes were opened to the fact that perhaps there was a lot of junk being built :)

CASE itself I believe was an attempt to replicate for assembling bits some of the benefits CAD/CAM was bringing to assembling atoms.

Re:All the UML you need to know by pjc50 on Tuesday October 13, 2015 @08:44AM (#10379983)
Yes, CASE grew out of CAD/CAM. There is probably a whole field of anthropological work to be done as to how this came about and why nobody talks about CASE any more.

Although the latter is partly because the idea of doing 'SE' without the 'CA' is now inconcievable, even to senior management.

Re:All the UML you need to know by agumonkey on Tuesday October 13, 2015 @09:02AM (#10380080)
But it's a natural and beneficial (wondering) thing to do. Leveraging automated logic to reflect on other forms of automated logic (code).
Re:All the UML you need to know by agumonkey on Tuesday October 13, 2015 @09:00AM (#10380069)
I never connected CASE with CAD, I stopped at Booch's history.

Same about dogfooding. When I realized RSA wasn't (at least when I was working on it) developed with RSA or any UML I felt weird... Doubly weird since other tools like IBM Jazz (team collaboration) used themselves to ensure a certain dose of value.