6 points · by hoodoof · 10y ago · 7 comments
At the time I didn't know what he meant. Probably he didn't either. But soon the web came and along with it several revolutions in software development including new languages, better languages, better processes, better information for programmers via the web and collaboration for programmers on problems via StackOverflow.
But it is still incredibly hard to learn new software technologies.
The main reason is because it is so hard to form a mental model of the technology that you are working with.
Consider reactjs. You'll only really start to work with it effectively when you understand the mental model of it - that there are components, and components have a lifecycle, and data flows through them in one direction. When you've studied it and programmed it for a certain amount of time then a mental model forms in your head and that's when you really can get going driving that technology effectively. And that's true not just for ReactJS but any development technology.
And until that mental model fully forms, you're digging around in the dark, puzzled, wasting time, trying to understand why things don't work in the way you expect, doing it wrong and being very frustrated.
So the question is, "is there a better way to convey the mental model of a software system?".
I feel like some sort of visualisation system is needed that can effectively convey the mental model of a given piece of software.
When we get such a thing, and when it works really well, software developers will be able to much more rapidly come up to speed by examining the visualisation and seeing how the parts hold together, instead of the current way of forming a mental model which is reading lots of documentation and going through a long and painful learning process.
Data flow diagrams were proposed by Larry Constantine, the original developer of structured design, based on Martin and Estrin's "Data Flow Graph" model of computation. Starting in the 1970s, data flow diagrams (DFD) became a popular way to visualize the major steps and data involved in software system processes. DFDs were usually used to show data flows in a computer system, although they could in theory be applied to business process modeling. DFD were useful to document the major data flows or to explore a new high-level design in terms of data flow. (copy/pasted from wikipedia)
For me, the outcome of learning a software technology is almost like a 3d image in space of the software and how it works. It's not as clear as a real 3d image of course but in a vague way that is what it is.
Imagine if you asked 1,000 programmers to "draw a picture of the mental model of X software system", you would find a small handful of really good visual/spatial conceptualisations of what that software is and how it works. The question is, can that process of drawing a good mental model visualisation be brought into the real world as some sort of definable process?
I would find it dramatically easier to learn new technologies if the start point was a really good 3d visualisation.
It's hard to explain exactly what I have in mind because it's not a solved problem.
The problem here is probably that if you asked 1000 programmers to draw something -- they'd all be limited to the two dimensions they can commit to paper (or whiteboard).
Even a photograph is a projection of a 3d scene down to 2d.
My mental model of react is a cascading DFD.
But if that doesn't work for you -- imo you should definitely come up with your own notation. After all, all models are wrong in some way but many are useful.
Maybe some enterprising entrepreneur will find a way to make this new revolution happen by harnessing the power of everyone to create great mental models for software.
Figuring out how to relax my body was 8/10ths of the journey.
+ domain model diagrams (illustrates domain objects and cardinality relationships)
+ sequence diagrams (expressing flow in between systems)
+ state diagrams
But what I found in the real world is not many people use these UML diagrams except in really large companies.
I totally agree that the current ways of forming mental models (through watching tutorials, reading docs, writing code, and taking notes) is super painful.
There is UML but that's mainly to explain stuff to non-engineers and turned out to be a total waste of time in 90% of cases. Documentation becomes rapidly outdated and costs money to maintain. Do you want someone updating stupid arrows and boxes in a visio file for $200 an hour? Engineers develop an intuition of why things don't work the way you expect just as a mechanic develops an intuition about why your car doesn't run the way you expect.