1516 points · by tkhattra · 4y ago · 211 comments
Thanks for your kind words. You will find lots of condensed wisdom in the three software books I
value most:
DeMarco & Lister Peopleware
2007. Software engineering: Barry Boehm's lifetime contributions to software development,
management and research. Ed. by Richard Selby.
Hoffman, Daniel M.; Weiss David M. (Eds.): Software Fundamentals – Collected Papers by David L.
Parnas, 2001, Addison-Wesley, ISBN 0-201-70369-6.
You might also like my later book on technical design in general: The Design of Design. Start
with Part II.Indeed. The references are full of works to studies from the Design Studies journal, in-situ work studies, works of philosophy etc.
"[Progressive truthfulness] is perhaps a better way to build models of physical objects...Start with a model that is fully detailed but only resembles what is wanted. Then, one adjusts one attribute after another, bringing the result ever closer to the mental vision of the new creation, or to the real properties of a real-world object
...Starting with exemplars that themselves have consistency of style ensures that such consistency is the designer's to lose."
Frederick Brooks - The Design of Design
1. I've got to track down the source of the quote (it may be the linked video), but Brooks has said that the most important architectural decision he made was to have an eight bit byte rather than the cheaper 7 bits (Edit: 6 bits) being considered for the IBM 360. To call that influential is an understatement.
2. And he has said the most important management decision was sending Ted Codd to graduate school, where Codd laid the foundation for what became relational databases.
3. A paper [0] he co-authored with Amdahl and Blaauw introduced the term 'architecture' to computer hardware, later borrowed for software. From the first page: "The term architecture is used here to describe the attributes of a system as seen by the programmer, i.e., the conceptual structure and functional behavior, as distinct from the organization of the data flow and controls, the logical design, and the physical implementation."
He gave an interesting talk at the 50th anniversary of the International Conference on Software Engineering (ICSE) a few years ago, [1]
[0] 'Architecture of the IBM System/360', Amdahl, Blaauw, Brooks.
That's 8-bit vs. 6-bit bytes. See "Interview: An interview with Fred Brooks", Communications of the ACM, Volume 58, Number 11 (2015), Pages 36-40 https://dl.acm.org/doi/fullHtml/10.1145/2822519 .
> Gene's machine was based on the existing 6-bit byte and multiples of that: 24-bit instructions and a 48-bit instruction or floating point ... Of all my technical accomplishments, making the 8-bit byte decision is far and away the most important. The reason was that it opened up the lowercase alphabet. I saw language processing as being another new market area that we were not in, and could not get into very well as long we were doing 6-bit character sets.
From your [0], "Architecture of the IBM System/360" (1964) at https://cpb-us-w2.wpmucdn.com/sites.gatech.edu/dist/8/175/fi... see the section "Character size, 6 vs 4/8", which discusses 4/6, 6, and 8-bit codes and the reasoning for 8-bit, and which comments:
> The selection of the 8-bit character size in 1961 proved wise by 1963, when the American Standards Association adopted a 7-bit standard character code for information interchange (ASCII).
FWIW, [0] is from April 1964. He also used "computer architecture" in the earlier "Architectural Philosophy", which is chapter 2 of the 1962 book "Planning A Computer System" concerning Project Stretch, at https://archive.org/details/bitsavers_ibm7030Plam_46781927/p...
In the 1990s I was was the junior co-founder and, for a while, main developer of VMD, a program for molecular visualization. I wanted to include molecular surface visualization, but me being me, would rather integrate someone else's good work.
I looked around and found "Surf", a molecular surface solver written by Amitabh Varshney when he was at the University of North Carolina. (See "Computing Smooth Molecular Surfaces", IEEE Computer Graphics and Applications, https://ieeexplore.ieee.org/abstract/document/310720 .)
Brooks, you may not know, heard Sutherland talk about using the screen as a window into another world, which got Brooks interested in VR. Back in the 1970s, at UNC, they started experimenting with head-mounted displays. Brooks worked on VR for the rest of his career.
The UNC VR group worked on many different VR approaches, including haptic (tactile) feedback. As I recall, the first was a used hydraulic-powered robot arm. People had to wear a lab coat and helmet when using it because it would leak, and had a tendency to hit people.
One of the experiments, the NanoManipulator, hooked up the VR and haptic feedback (not that same robot!) to an atomic-force microscope, so people could feel the surface and move nanoscale objects around. http://www.warrenrobinett.com/nano/ .
Brooks felt that VR would be very useful for molecular visualization, and developed the GRIP Molecular Graphics Resource. Quoting https://apps.dtic.mil/sti/pdfs/ADA236598.pdf , some of its early achievements were "the first molecular graphics system on which a protein was solved without a physical model", "using remote manipulator technology to enable users to feel molecular forces", and "Real-time, user-steered volume visualization of an electron density map".
As that document points out, their goal was to "wildcat radical new molecular graphics ideas to the prototype stage. Winning ideas are spun off to the thriving commercial industry or into autonomous research projects."
Surf fit very well in those lines, as VMD was an "autonomous research project".
My exchange with Brooks and UNC was 1) to get permission to distribute Surf as part of the VMD distribution, and, 2) a few years later, to provide numbers about how many people had downloaded VMD with Surf.
The big arm from Figure 2 is "an Argonne III Remote Manipulator".
Oddly, I can find no mention of that ARM outside of its use for the NanoManipulator. I did find https://www.ks.uiuc.edu/History/VMD/ (my old haunting grounds!) say:
> Computer scientist Frederick Brooks describes his chance encounter with the man who designed the manipulator as providential. In the 1950s, at Argonne National Laboratory near Chicago, Raymond Goertz and his group developed the ARM, the Argonne Remote Manipulator, a force-feedback device used to manipulate radioactive material in contaminated areas unsafe for humans to enter. Users gripped a device and moved it with their hand, and then signals were transferred to a robotic hand inside the contaminated area, which the users could see through glass. In the late 1960s or early 1970s Brooks met Goertz, the primary developer of the ARM, and Goertz arranged for Brooks to receive a manipulator that was no longer in use. ...
> While trying to use the donated remote manipulator with a computer in the 1970s, Brooks realized that he needed at least a hundred times more computer power than was feasible at the time, and he sidelined his work with the ARM until 1986, the arrival of the VAX computer. ...
Oooh! And you can see a few pictures of a young me in that UIUC link!
A favorite quote of mine from MMM: "The programmer, like the poet, works only slightly removed from pure thought-stuff. He builds his castles in the air, from air, creating by exertion of the imagination. Few media of creation are so flexible, so easy to polish and rework, so readily capable of realizing grand conceptual structures...."
> Yet the program construct, unlike the poet's words, is real in the sense that in moves and works, producing visible outputs seperate from the construct itself. It prints results, draws pictures, produces sounds, moves arms. The magic of myth and legend has come true in our time. One types the correct incantation on the keyboard, and a display screen comes to life, showing things that never were nor could be.
I have a beautiful Docubyte print of the IBM-360 in my room, as a reminder of the great endowment that is our computing past. Well done to Brooks on a remarkable life’s work.
Yeah, and then you have the core banking system tied with scotch tape and bubble gum in the 1950s, that drives a business worth tens of billions of dollars and for which a modern rewrite would probably cost a billion dollars.
And then you realize some pieces of software are harder than a mountain made of titanium.
The important thing is not to worry that what we have is merely good, because the perfect might be waiting around the corner. It's not.
I bought the book years ago when I was on my 'let' s learn everything I can about computers and software ' spree. Very few books have left such a lasting impression on me, even though at the time I had no notion whatsoever of what professional software engineering was like.
A favorite, lesser known quote of Fred's from his technical communications course at UNC and a SIGCSE talk. Beyond a software engineer and researcher, he was an extraordinary educator. His design ethos carried through to pedagogy, as well, and has been an inspiration to me. Thanks, Fred.
When we talk about Fred Brooks now, we're usually talking about the things he's written (MMM, No Silver Bullet, etc.) or the impact he's had on computing (8 bit byte, founding the CS depts, etc.). He didn't talk about any of that with us freshmen. Other than a brief introduction, he didn't talk about any of that at all.
Instead, he talked to us about what he saw as the future. The most exciting thing going forward, as he saw it in August of 2011, was the development of the interface between biology and computing. One of the things that stuck with me was that he said he hoped students today looked at biology the way he looked at computer science back in the 50s and 60s, as a land of unlimited potential.
that's interesting, i believe ken thompson said something similar re: getting into biology in an interview about 20 years ago.
But I really enjoyed The Design of Design as well.
R.I.P. Mr. Brooks. I thank you for introducing to me the idea of conceptual integrity.
Dear Friends,
It is with great sadness that I must share the following update on the health of the Department Founder Dr. Frederick P. Brooks, Jr. I know how much Dr. Brooks has meant to the department, to computer graphics, to the world of computing, and to each of you. So I wanted to reach out and pass on the following message from his son, Roger Brooks.
Dr. Samarjit Chakraborty Chair, UNC Department of Computer Science
– Begin Forwarded Message – Subject: Frederick's condition and his Hope
Dear ones:
As you may have heard, on Saturday my father came home from the hospital into hospice care. He spends most of the time sleeping. When (slightly) awake, he is only slightly responsive, and not able to respond verbally to questions. He seems to be in no pain and no particular discomfort. He is eating and drinking small amounts, but far from enough.
Frederick P. Brooks Jr. has fought the good fight, run the good race, been an outstanding husband and father and mentor and friend of many . . . and is now fading away. His hope and his coming joy, in death and in life, is in his Lord Jesus Christ, who I know will welcome him with “Well done . . .”.
The hospice nurse tells us that my father may live several days to 10 days or so.
You may share this information with all who would want to know. I know that I am missing email addresses for beloved friends which exist somewhere in my parents’ contact lists, and I apologize that I do not have time to dig for those.
With family and aides around, we have ample help. If you would like to come and visit my mother, or bring your last respects and prayers to my father, please just call the house first. Close friends are welcome, but it is hard to predict in advance when things will be busy or peaceful.
Kori Robbins, associate pastor at Orange Methodist Church, visited yesterday and prayed what I thought was exactly the appropriate, loving, and merciful prayer, which she tells me she adapted from Douglas McKelvey's A Liturgy for the Final Hours. We ask you to join in this prayer:
O God our Father, O Christ our Brother, O Spirit our comforter,
Fred is ready.
Now meet him at this mortal threshold and deliver him to that eternal city; to your radiant splendor; to your table and the feast and the festival of friends; to the wonder and the welcome of his heart's true home.
He but waits for your word. Bid him rise and follow, and he will follow you gladly into that deeper glory,
O Spirit his True Shepherd, O Christ his True King, O God his True and Loving Father, receive him now, and forgive his sins, through the blood of his Savior Jesus Christ.
Roger Brooks Sr.
Rest In Peace.
"Show me your flowchart and conceal your tables, and I shall continue to be mystified. Show me your tables, and I won't usually need your flowchart; it'll be obvious." -- Fred Brooks, The Mythical Man Month (1975)
Stated a different way:
"Bad programmers worry about the code. Good programmers worry about data structures and their relationships." -Linus Torvalds
To me, the first (by Brooks) seems to be about grasping the domain model to understand what the system does (or can do) in general.
Wheras the second (by Torvalds) seems to be about how best to organize data in code for efficient processing. Array, hash, tree, heap, etc and their associated access time complexity. The efficiency of your solution depends on your choice of a data structure that fits the local problem.
I always attributed it to Rob Pike, but it turns out Pike's is following:
> Rule 4. Fancy algorithms are buggier than simple ones, and they're much harder to implement. Use simple algorithms as well as simple data structures.
> Rule 5. Data dominates. If you've chosen the right data structures and organized things well, the algorithms will almost always be self-evident. Data structures, not algorithms, are central to programming.
https://users.ece.utexas.edu/~adnan/pike.html
Interestingly enough, the above link has this to say:
> Rule 5 was previously stated by Fred Brooks in The Mythical Man-Month.
Which I guess references GP's excerpt.
Also says this, which kinda loops back to Linus's way of saying it:
> Rule 5 is often shortened to "write stupid code that uses smart objects".
I mean I've waded through tons of code where the original author abused strings to indicate relationships in a table - a column with semicolon-separated values referencing other tables / rows. And a ton of code to check references.
Mind you, that's more database design than data structures, but they're close enough for this example.
Self-documenting code (what I take in practice means "no comments"-culture) is something I don't understand how it can work, never seen a good implementation of it. It _can_ be successful in describing the _what_ but is poorly or not at all describing the _why_. Perhaps I'm in the wrong domain for that though.
Like variables called "daysSinceDocumentLastUpdated" instead of "days". The why comes from reading a sequence of such well described symbols, laid out in a easy to follow way.
It doesn't do away with comments, but it reduces them to strange situations, which in turn provides refactoring targets.
Tbh, its major benefit is the fact that comments get stale or don't get updated, because they aren't held in line by test suites and compilers.
Most comments I come across in legacy code simply don't mean anything to me or any coworkers, and often cause more confusion. So they just get deleted anyway.
Fairly hot take from me, life is more ambiguous than that :-).
1) Communicating with computers
2) Communicating with other humans
Self-documenting code is essentially writing prose. Granted, to someone with similar knowledge as you.
But most people suck at writing.
(a) rename the column, be the guy who broke the system and spend all weekend trying to fix 6 systems he never knew existed, written in Access, Excel, Crystal Reports, VB6, Delphi and a CMD file on a contractors laptop.
(b) keep the column name, deliver the feature, go home.
(b) Go home and be happily oblivious that six other systems silently started to produce wrong results since the meaning of the column has changed. But, of course, that is someone else’s problem, some other day, when several months of reports and forecasts have to be recalled and updated.
Bad programmers chose (b). Good programmers choose (a). Better programmers refuse the change request.
In my experience, studying the database schema and IO data structures is indeed the best way to begin understanding a complex system.
Showing things acts as a forcing function to fix the thing being shown
In a word, the computer scientist is a toolsmith--no more, but no less. It is an honorable calling. If we perceive our role aright, we then see more clearly the proper criterion for success: a toolmaker succeeds as, and only as, the users of his tool succeed with his aid. However shining the blade, however jeweled the hilt, however perfect the heft, a sword is tested only by cutting. That swordsmith is successful whose clients die of old age.
When I was in high school and learning how to program, he let me borrow a copy of his Mythical Man Month book.
Was he at the school somehow?
Was Mythical Man Month useful for a high school programmer?
But when I got to grad school.. their convervsations about "the industry" and ways of working was massively inexperienced. I also read a lot at that age. It also did give me a leg up in identifying high pressure of delieverying. (The 9 women in 1 month for a baby reference).
He will always be remembered for “Brooks’s Law”, colloquially, “adding people to a late software project makes it later”:
https://en.wikipedia.org/wiki/Brooks%27s_law
And for his timeless essay, “No Silver Bullet”, which introduced the idea of accidental vs essential complexity in software:
https://en.wikipedia.org/wiki/No_Silver_Bullet
RIP.
― Fred Brooks
I printed this out and taped it to the whiteboard at my desk. Handy to point out to the manager in various situations.
RIP Dr. Brooks.
Brooks's observations are based on his experiences at IBM while managing the development of OS/360. He had added more programmers to a project falling behind schedule, a decision that he would later conclude had, counter-intuitively, delayed the project even further."
I'm glad I got to at least shake his hand. One of the lawyers at Google had studied under him, and when I saw them crossing the street I just assumed the older gentleman with the visitor's badge was Brooks (I didn't even know what he looked like, but I found out later I'd guessed correctly).
https://www.goodreads.com/book/show/7157080-the-design-of-de...
RIP Mr. Brooks
I admire his ability to move back and forth between industry and academia and move the entire field forward.
One of my favorite quotes: "A scientist builds in order to learn. An engineer learns in order to build."
I mentioned Fred Brook in a comment just earlier in the week. The Mythical Man Month is such an obviously and well known trap it's still surprising so many projects still fall into it.
Whilst his work is mostly seen as for software engineers, really it should be more well known by project and senior managers in general.
Brook law of late software project will be quoted for the rest of times, because software projects will be late for the rest of time.
May Mr. Brooks rest in peace until then.
You might want to consider reading The Design of Design if you liked The Mythical Man-Month.
Reading his works elucidated so many ideas and experiences that I could not myself articulate, and helped set the foundation for my own ideas further down the line.
RIP Fred, thank you for all your warm kindness and endless contributions to our field at large.
He, along with folks like Watts Humphries, and Donald Knuth, were some of the earliest published "Computer Programming As An Engineering Discipline" types.
It's Friday, and I'm grumpy, so I could very well argue that the age of the "thinkers" is dead and gone for software, and that everything that comes from now is just rehashing old good ideas (at best) or propagating new bad ones.
Let's be charitable and assume there is still 1% a good stuff among the junk. Who's writing it ? Who's on the good side of the tar pit, and has the potential to lend a hand ?
Inventing on Principle by Brett Victor: https://www.youtube.com/watch?v=PUv66718DII
Growing a Language by Guy Steele: https://www.youtube.com/watch?v=lw6TaiXzHAE
We Really Don't Know How to Compute! by Gerald Sussman: https://www.youtube.com/watch?v=HB5TrK7A4pI
We are quickly passing the golden age when anyone can see the obvious problems and write on them. There will be many thinkers to come, but they are all building on the giants of the past and so will mostly not be commenting on the obvious.
Exhibit A : every single project manager who tried to address a tight schedule on a late project with a "well, we'll get more people in.". Today.
RIP Fred, you were a giant and will be missed.
I've still got my copy of MMM from 20 years ago. I re-read it recently (~2 years ago). Such great wisdom in that book. Would highly recommend it.
Hopefully this will encourage more to read his work. It's about human behaviour and timeless.
Quite the legacy, long may it last.
sure, but
> even Wikipedia hasn't been updated
how would you rank the possibility that Wikipedia is updated from that same source? It's an open article. If a piece of news, say, "goes viral", how do you know this does not directly affect sources you would have used for comparison - /especially/ a wiki?
PS: I just realized the coincidence that I have just submitted a piece about "Epistemic Vigilance in teams, esp. in the context of news sources", https://news.ycombinator.com/item?id=33651906
I'd rank it as definitely possible. No idea how often it happens.
The thing that really persuaded me to put the story back up was the source of the tweet. A Columbia CS prof and law prof who had apparently studied with Brooks would not likely have posted that if he hadn't had a genuine notification.
1. Adding more people adds overhead which slows down productivity. Might even make it worse
2. 10X developer (100X) mythology and how other programmers should be their support secretaries
(1) is too obvious and (2) I didn’t like for self-interest reasons.
If only.
https://www.military.com/daily-news/2013/06/19/lockheed-reas...
> Lockheed Martin Corp. has reassigned 200 engineers to work on the F-35 fighter jet's software, a problem area that Defense Department officials fear could cause more delays to the program.
Somehow obvious to DOD, but not to LM. And that's just one of the more high profile incidents I know of, I've witnessed plenty of others (directly or indirectly) that never made news. Nearly 40 years after MMM was published and people in major corps still have to relearn the lessons.
Lockheed Martin knew precisely that obvious fact of overhead.